Re: [SPAM] Re: [SQL] Permissions not working

2004-05-03 Thread Pallav Kalva
Peter Eisentraut wrote: Pallav Kalva wrote: Also here is the privileges information from information_schema tables. Is there a way to REVOKE these privileges ? You need to log in as the user that has granted the privilege you want to revoke. In this case, log in as postgres and do REVOKE

Re: [SPAM] Re: [SQL] Permissions not working

2004-05-03 Thread Pallav Kalva
usps=# revoke all on database usps from public,test; You seem to think that that translates to revoking all privileges to objects within the database. It doesn't. It only revokes privileges directly associated with the database object, which are the rights to create new schemas and temp

Re: [SPAM] Re: [SQL] Permissions not working

2004-05-03 Thread Peter Eisentraut
Pallav Kalva wrote: I tried both database privileges and table privileges (all and select) it still doesnt work. Not sure what is wrong here, I tried logging in as both postgres and usps user and both them doesnt work. What about all those groups that have privileges? Please post the

Re: [SQL] Permissions not working

2004-05-01 Thread Peter Eisentraut
Pallav Kalva wrote: Also here is the privileges information from information_schema tables. Is there a way to REVOKE these privileges ? You need to log in as the user that has granted the privilege you want to revoke. In this case, log in as postgres and do REVOKE ALL FROM PUBLIC;.

Re: [SQL] Permissions not working

2004-04-30 Thread Pallav Kalva
Tom Lane wrote: Pallav Kalva [EMAIL PROTECTED] writes: I have a database for ex: 'ups' and it was owned previously by 'postgres(superuser)' but now i have changed the ownership to new user 'ups' all the tables are owned by these user 'ups'. That isn't a supported operation. How did you

Re: [SQL] Permissions not working

2004-04-30 Thread Tom Lane
Pallav Kalva [EMAIL PROTECTED] writes: usps= \z citystate_alias Access privileges for database usps Schema | Table | Access privileges

Re: [SQL] Permissions not working

2004-04-30 Thread Pallav Kalva
Tom Lane wrote: Pallav Kalva [EMAIL PROTECTED] writes: usps= \z citystate_alias Access privileges for database usps Schema | Table | Access privileges

[SQL] Permissions not working

2004-04-29 Thread Pallav Kalva
Hi , I am having some problems with setting up permissions in Postgres. I have a database for ex: 'ups' and it was owned previously by 'postgres(superuser)' but now i have changed the ownership to new user 'ups' all the tables are owned by these user 'ups'. This database doesnt have any

Re: [SQL] Permissions not working

2004-04-29 Thread scott.marlowe
On Thu, 29 Apr 2004, Pallav Kalva wrote: Hi , I am having some problems with setting up permissions in Postgres. I have a database for ex: 'ups' and it was owned previously by 'postgres(superuser)' but now i have changed the ownership to new user 'ups' all the tables are owned by

Re: [SQL] Permissions not working

2004-04-29 Thread Pallav Kalva
scott.marlowe wrote: On Thu, 29 Apr 2004, Pallav Kalva wrote: Hi , I am having some problems with setting up permissions in Postgres. I have a database for ex: 'ups' and it was owned previously by 'postgres(superuser)' but now i have changed the ownership to new user 'ups' all the tables

Re: [SQL] Permissions not working

2004-04-29 Thread scott.marlowe
On Thu, 29 Apr 2004, Pallav Kalva wrote: scott.marlowe wrote: On Thu, 29 Apr 2004, Pallav Kalva wrote: Hi , I am having some problems with setting up permissions in Postgres. I have a database for ex: 'ups' and it was owned previously by 'postgres(superuser)' but now i

Re: [SQL] Permissions not working

2004-04-29 Thread Tom Lane
Pallav Kalva [EMAIL PROTECTED] writes: I have a database for ex: 'ups' and it was owned previously by 'postgres(superuser)' but now i have changed the ownership to new user 'ups' all the tables are owned by these user 'ups'. That isn't a supported operation. How did you do it exactly? I