Re: [GENERAL] Privilege on schema 'public' not revokable

2012-03-01 Thread Vincent de Phily
On Wednesday 29 February 2012 14:14:19 Tom Lane wrote: > "David Johnston" writes: > > [mailto:pgsql-general-ow...@postgresql.org] On Behalf Of Vincent de Phily > > > >> [ this doesn't do anything: ] > >> db_foo=# REVOKE CREATE ON SCHEMA public FROM foouser; > > > > "foouser" is obtaining its per

Re: [GENERAL] Privilege on schema 'public' not revokable

2012-02-29 Thread Tom Lane
"David Johnston" writes: > [mailto:pgsql-general-ow...@postgresql.org] On Behalf Of Vincent de Phily >> [ this doesn't do anything: ] >> db_foo=# REVOKE CREATE ON SCHEMA public FROM foouser; > "foouser" is obtaining its permission to "CREATE" on the "public " schema > via global/PUBLIC permission

Re: [GENERAL] Privilege on schema 'public' not revokable

2012-02-29 Thread David Johnston
From: pgsql-general-ow...@postgresql.org [mailto:pgsql-general-ow...@postgresql.org] On Behalf Of Vincent de Phily Sent: Wednesday, February 29, 2012 1:57 PM To: pgsql-general@postgresql.org Subject: [GENERAL] Privilege on schema 'public' not revokable Hi, after having been

[GENERAL] Privilege on schema 'public' not revokable

2012-02-29 Thread Vincent de Phily
Hi, after having been locked-out of the public schema by mistake (which I fixed with "GRANT ALL ON SCHEMA public TO 'foobar'"), I wanted to update my privilege-check script to take the schema into account, but I'm running into the following behaviour : > $ psql db_foo > psql (9.1.2) > Type "he