>> <alvhe...@commandprompt.com> wrote: >> > Excerpts from Jim Nasby's message of jue jun 10 17:54:43 -0400 2010: >> >> test...@workbook=# select has_table_privilege( 'public', 'test', 'SELECT' >> >> ); >> >> ERROR: role "public" does not exist >> > >> > Here's a patch implementing this idea.
I applied it almost as-is, except an unused variable in get_role_oid_or_public(). >> BTW, does the patch need to be back-patched to older versions? > There's no intention to do so. OK. Applied only to HEAD. The issue was reported as a bug, but we will consider the change as an improvement. -- Itagaki Takahiro -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers