Skip site navigation (1) Skip section navigation (2)

Re: Bug / shortcoming in has_*_privilege

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: (view raw, whole thread or download thread mbox)
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

>> 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

In response to

pgsql-hackers by date

Next:From: Robert HaasDate: 2010-10-13 05:49:27
Subject: Re: levenshtein_less_equal (was: multibyte charater set in levenshtein function)
Previous:From: Fujii MasaoDate: 2010-10-13 05:21:32
Subject: Re: Issues with Quorum Commit

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group