Re: Needless additional partition check in INSERT?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Needless additional partition check in INSERT?
Дата
Msg-id 20180607035732.gnusnfls2bponmus@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Needless additional partition check in INSERT?  (David Rowley <david.rowley@2ndquadrant.com>)
Ответы Re: Needless additional partition check in INSERT?  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Re: Needless additional partition check in INSERT?  (David Rowley <david.rowley@2ndquadrant.com>)
Список pgsql-hackers
On 2018-Jun-07, David Rowley wrote:

> Hi Alvaro,
> 
> Thanks for looking at this. I thought it was strange to pass in both
> resultRelInfos. I ended up just making the 2nd param a bool to
> indicate of tuple routing was used.

Good call.

> I'm personally not really for or against having the function. I agree
> that it's slightly weird, but anyway, here's the patch. I'll leave it
> up to you to which one you prefer, v3 or v4.

Hm I was thinking this new function would be companion to ExecConstrains
(a fact I used in the name I proposed,) so it'd be in the same file
(probably right after it.)


-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Loaded footgun open_datasync on Windows
Следующее
От: Amit Langote
Дата:
Сообщение: Re: Needless additional partition check in INSERT?