Re: postgres function does not handle PUBLIC - expected? - Mailing list pgsql-admin

From Szymon Guz
Subject Re: postgres function does not handle PUBLIC - expected?
Date
Msg-id AANLkTimAwQwmscGHLLxmrRJ7Wpe5sdeK8pXtWOG3bi7E@mail.gmail.com
Whole thread Raw
In response to Re: postgres function does not handle PUBLIC - expected?  (Kasia Tuszynska <ktuszynska@esri.com>)
List pgsql-admin


2010/8/10 Kasia Tuszynska <ktuszynska@esri.com>
Kevin,
I know public is there from using it every day, but if it were not for you post I would not know how to prove it, none of the views, graphical admin tools etc. display it as a user.

We found this issue because we can grant privs to public on a table, but could not revoke them. If I did not "know" that public was there ( because in my experience it is there in oracle, sql server and the Informix dbs) how would I check for it's existence on Postgres?

Thank you,
Kasia

"The key word PUBLIC refers to the implicitly defined group of all roles."


So PUBLIC seems to be a kind of magical role. I didn't know that, sorry for my previous, a little bit confusing email.

regards
Szymon

 

pgsql-admin by date:

Previous
From: Kasia Tuszynska
Date:
Subject: Re: postgres function does not handle PUBLIC - expected?
Next
From: charlie derr
Date:
Subject: Re: postgres function does not handle PUBLIC - expected?