Re: ON CONFLICT issues around whole row vars,

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: ON CONFLICT issues around whole row vars,
Дата
Msg-id 20151005121419.GB26492@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: ON CONFLICT issues around whole row vars,  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: ON CONFLICT issues around whole row vars,  (Stephen Frost <sfrost@snowman.net>)
Re: ON CONFLICT issues around whole row vars,  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On 2015-10-05 08:01:00 -0400, Stephen Frost wrote:
> Peter, all,
> I had intended to address with policies what is addressed through
> permissions with 7d8db3e, but the coverage for INSERT+RETURNING was only
> done when ON CONFLICT was in use.
> 
> I've fixed that by applying the SELECT policies as WCOs for both the
> INSERT and UPDATE RETURNING cases.  This matches the permissions system,
> where we require SELECT rights on the table for an INSERT RETURNING
> query.

This really needs tests verifying the behaviour...

Greetings,

Andres Freund



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

Предыдущее
От: Shay Rojansky
Дата:
Сообщение: Re: Odd query execution behavior with extended protocol
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: ON CONFLICT issues around whole row vars,