From: | Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
Cc: | Jim Nasby <jim(at)nasby(dot)net>, PGSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Bug / shortcoming in has_*_privilege |
Date: | 2010-10-13 05:44:08 |
Message-ID: | AANLkTi=_=uiiNzQwKUs_FESGF0C1YF7vbKijA1v-8bGF@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>> <alvherre(at)commandprompt(dot)com> wrote:
>> > Excerpts from Jim Nasby's message of jue jun 10 17:54:43 -0400 2010:
>> >> test_us(at)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
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2010-10-13 05:49:27 | Re: levenshtein_less_equal (was: multibyte charater set in levenshtein function) |
Previous Message | Fujii Masao | 2010-10-13 05:21:32 | Re: Issues with Quorum Commit |