Re: [GENERAL] Granting privileges on all tables,sequences , views, procedures

2011-05-17 Thread Christopher Opena
Ah - my apologies, I realized you will need to add a function for exec (which may also require plpgsql language added to your database). On Tue, May 17, 2011 at 12:00 AM, Christopher Opena wrote: > Per 8.0 documentation, in order to ALTER a table (including rename), you > have to be the owner of

Re: [GENERAL] Granting privileges on all tables,sequences , views, procedures

2011-05-17 Thread Grzegorz Szpetkowski
2011/5/17 Adarsh Sharma : > Dear all, > > Today I grant a user all privileges to all tables in  a database by > > grant all privileges on   svo_data_social to neha ;              grant all > privileges on   svo_phrases to neha ; > .. . . > . > ... > > Now i find it very uncomfort   to grant

Re: [GENERAL] Granting privileges on all tables,sequences , views, procedures

2011-05-17 Thread Christopher Opena
Per 8.0 documentation, in order to ALTER a table (including rename), you have to be the owner of a table: "You must own the table to use ALTER TABLE; except for ALTER TABLE OWNER, which may only be executed by a superuser." http://www.postgresql.org/docs/8.0/static/sql-altertable.html If you want

[GENERAL] Granting privileges on all tables,sequences , views, procedures

2011-05-16 Thread Adarsh Sharma
Dear all, Today I grant a user all privileges to all tables in a database by grant all privileges on svo_data_social to neha ; grant all privileges on svo_phrases to neha ; .. . . . ... Now i find it very uncomfort to grant privileges one by one table. Is there a