Re: non-bulk inserts and tuple routing

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: non-bulk inserts and tuple routing
Дата
Msg-id 20180303044855.f25y6xmil5fnp2g7@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: non-bulk inserts and tuple routing  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: non-bulk inserts and tuple routing  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Список pgsql-hackers
On 2018-02-22 11:10:57 -0500, Robert Haas wrote:
> On Tue, Feb 20, 2018 at 8:06 PM, Amit Langote
> <Langote_Amit_f8@lab.ntt.co.jp> wrote:
> >> Attached is an updated version for that.
> >
> > Thanks for updating the patch.
> 
> Committed with a few changes.  The big one was that I got rid of the
> local variable is_update in ExecSetupPartitionTupleRouting.  That
> saved a level of indentation on a substantial chunk of code, and it
> turns out that test was redundant anyway.

Btw, are there cases where this could change explain output?  If there's
subplan references or such in any of returning / wcte expressions,
they'd not get added at explain time.  It's probably fine because add
the expressions also "staticly" in ExecInitModifyTable()?


Greetings,

Andres Freund


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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: heap_lock_updated_tuple_rec can leak a buffer refcount
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] GSOC'17 project introduction: Parallel COPY executionwith errors handling