Re: PG 14 release notes, first draft

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: PG 14 release notes, first draft
Дата
Msg-id 20210511153702.GU6088@momjian.us
обсуждение исходный текст
Ответ на Re: PG 14 release notes, first draft  (Joe Conway <mail@joeconway.com>)
Ответы Re: PG 14 release notes, first draft  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
On Tue, May 11, 2021 at 11:26:48AM -0400, Joe Conway wrote:
> On 5/11/21 11:11 AM, Bruce Momjian wrote:
> > > Previously existence of such columns were ignored when caller had table
> > > level privileges.
> > 
> > I can't reproduce the NULL using column name text:
> 
> >     test=> SELECT has_column_privilege('test', 'z', 'SELECT');
> >     ERROR:  column "z" of relation "test" does not exist
> 
> That is the way it is supposed to work when the column is specified by name.
> The patch did not change that in any way.

I am just confused why attribute numbers are handled differently than
attribute names.

> > but I was able to show it using attribute numbers, as you explained:
> 
> Yes, that was what the patch fixed.

Thanks.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: PG 14 release notes, first draft
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Why do we have perl and sed versions of Gen_dummy_probes?