Re: INSERT ... ON CONFLICT UPDATE and RLS

Поиск
Список
Период
Сортировка
Искать
От
Stephen Frost
Тема
Re: INSERT ... ON CONFLICT UPDATE and RLS
Дата
Msg-id
20150306142344.GO29780@tamriel.snowman.net
Ответ на
Список
Дерево обсуждения
INSERT ... ON CONFLICT UPDATE and RLS Peter Geoghegan <pg@heroku.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Robert Haas <robertmhaas@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Peter Geoghegan <pg@heroku.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Peter Geoghegan <pg@heroku.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Dean Rasheed <dean.a.rasheed@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Stephen Frost <sfrost@snowman.net>
Re: INSERT ... ON CONFLICT UPDATE and RLS Robert Haas <robertmhaas@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Stephen Frost <sfrost@snowman.net>
Re: INSERT ... ON CONFLICT UPDATE and RLS David Fetter <david@fetter.org>
Re: INSERT ... ON CONFLICT UPDATE and RLS Peter Geoghegan <pg@heroku.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS David Fetter <david@fetter.org>
Re: INSERT ... ON CONFLICT UPDATE and RLS Peter Geoghegan <pg@heroku.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Stephen Frost <sfrost@snowman.net>
Re: INSERT ... ON CONFLICT UPDATE and RLS Dean Rasheed <dean.a.rasheed@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Peter Geoghegan <pg@heroku.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Dean Rasheed <dean.a.rasheed@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Stephen Frost <sfrost@snowman.net>
Re: INSERT ... ON CONFLICT UPDATE and RLS Dean Rasheed <dean.a.rasheed@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Stephen Frost <sfrost@snowman.net>
Re: INSERT ... ON CONFLICT UPDATE and RLS Dean Rasheed <dean.a.rasheed@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Stephen Frost <sfrost@snowman.net>
Re: INSERT ... ON CONFLICT UPDATE and RLS Stephen Frost <sfrost@snowman.net>
Re: INSERT ... ON CONFLICT UPDATE and RLS Dean Rasheed <dean.a.rasheed@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Dean Rasheed <dean.a.rasheed@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Stephen Frost <sfrost@snowman.net>
Re: INSERT ... ON CONFLICT UPDATE and RLS Dean Rasheed <dean.a.rasheed@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Dean Rasheed <dean.a.rasheed@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Stephen Frost <sfrost@snowman.net>
Re: INSERT ... ON CONFLICT UPDATE and RLS Dean Rasheed <dean.a.rasheed@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Dean Rasheed <dean.a.rasheed@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Dean Rasheed <dean.a.rasheed@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Stephen Frost <sfrost@snowman.net>
Re: INSERT ... ON CONFLICT UPDATE and RLS Stephen Frost <sfrost@snowman.net>
Re: INSERT ... ON CONFLICT UPDATE and RLS Dean Rasheed <dean.a.rasheed@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Dean Rasheed <dean.a.rasheed@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Peter Geoghegan <pg@heroku.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Stephen Frost <sfrost@snowman.net>
Re: INSERT ... ON CONFLICT UPDATE and RLS Peter Geoghegan <pg@heroku.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Stephen Frost <sfrost@snowman.net>
Re: INSERT ... ON CONFLICT UPDATE and RLS Peter Geoghegan <pg@heroku.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Stephen Frost <sfrost@snowman.net>
Re: INSERT ... ON CONFLICT UPDATE and RLS Peter Geoghegan <pg@heroku.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Robert Haas <robertmhaas@gmail.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Stephen Frost <sfrost@snowman.net>
Re: INSERT ... ON CONFLICT UPDATE and RLS Peter Geoghegan <pg@heroku.com>
Re: INSERT ... ON CONFLICT UPDATE and RLS Peter Geoghegan <pg@heroku.com>
* Dean Rasheed (dean.a.rasheed@gmail.com) wrote:
> On 26 February 2015 at 09:50, Dean Rasheed  wrote:
> > On 26 February 2015 at 05:43, Stephen Frost  wrote:
> >> I wonder if there are some documentation updates which need to be done
> >> for this also?  I'm planning to look as I vauguely recall mentioning the
> >> ordering of operations somewhere along the way.
> 
> I couldn't find any mention of the timing of the check in the existing
> documentation, although it does vaguely imply that the check is done
> before inserting any new data. There is an existing paragraph
> describing the timing of USING conditions, so I added a new paragraph
> immediately after that to explain when CHECK expressions are enforced,
> since that seemed like the best place for it.

Ah, ok, I must have been thinking about the USING discussion.  Thanks
for adding the paragraph about the CHECK timing.

> >> I also addressed the bitrot from the column-priv leak patch.  Would be
> >> great to have you take a look at the latest and let me know if you have
> >> any further comments or suggestions.
> 
> I looked it over again, and I'm happy with these updates, except there
> was a missing "break" in the switch statement in
> ExecWithCheckOptions().

Oh, thanks for catching that!

> Here's an updated patch.

Excellent, will review.
Thanks again!
	Stephen
В списке pgsql-hackers по дате отправления
От: Stephen Frost
Дата:
От: Tom Lane
Дата:
FAQ