Re: [HACKERS] Bug in ExecModifyTable function and trigger issues for foreign tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Bug in ExecModifyTable function and trigger issues for foreign tables
Дата
Msg-id 22478.1511823503@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Bug in ExecModifyTable function and trigger issues forforeign tables  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Ответы Re: [HACKERS] Bug in ExecModifyTable function and trigger issuesfor foreign tables
Список pgsql-hackers
Dean Rasheed <dean.a.rasheed@gmail.com> writes:
> On 27 November 2017 at 16:35, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> On looking closer, the reason it's like that in Fujita-san's patch
>> is to minimize the API churn seen by FDW AddForeignUpdateTargets
>> functions, specifically whether they see a tlist that's before or
>> after what expand_targetlist() does.  I'm doubtful that the
>> potential savings is worth taking risks there.  In particular,
>> it seems like a good thing that expand_targetlist() verifies the
>> correct tlist ordering *after* the FDW function has acted.
>> So now my inclination is to leave this alone.

> Ah yes, that seems like a worthwhile check to keep. Never mind then.

Pushed with that and some cosmetic fiddling with comments and docs.
Thanks for the discussion!
        regards, tom lane


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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: [HACKERS] Challenges preventing us moving to 64 bit transactionid (XID)?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] More stats about skipped vacuums