Re: executor relation handling

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: executor relation handling
Дата
Msg-id 12148.1538938507@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: executor relation handling  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Ответы Re: executor relation handling
Re: executor relation handling
Re: executor relation handling
Список pgsql-hackers
Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> writes:
> 0004: removes useless fields from certain planner nodes whose only purpose
> has been to assist the executor lock relations in proper order

I've pushed most of 0004 now; obviously, not the parts removing
PlannedStmt.rowMarks, since that's not possible without rearrangement
of the executor's RowMark handling.

I didn't like the idea of unifying ModifyTable.nominalRelation with
the partition root info.  Those fields serve different masters ---
nominalRelation, at least in its original intent, is only meant for
use of EXPLAIN and might have nothing to do with what happens at
execution.  So even though unifying them would work today, we might
regret it down the line.  Instead I left that field alone and added
a separate rootRelation field to carry the partition root RT index,
which ends up being the same number of fields anyway since we don't
need a flag for is-the-nominal-relation-a-partition-root.

Still need to think a bit more about whether we want 0005 in
anything like its current form.

            regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Defaulting to password_encryption = scram-sha-256
Следующее
От: Andrew Dunstan
Дата:
Сообщение: msys2