Re: pgsql: Allow insert and update tuple routing and COPY forforeign table

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: pgsql: Allow insert and update tuple routing and COPY forforeign table
Дата
Msg-id fe47dddfbcb87c9a4a7605cc4f36b89eaef1e7b3.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: pgsql: Allow insert and update tuple routing and COPY for foreigntable  (Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>)
Список pgsql-committers
On Thu, 2019-04-25 at 22:17 +0900, Etsuro Fujita wrote:
> > The documentation of ExecForeignInsert should mention something like:
> >
> >    ExecForeignInsert is called for INSERT statements as well
> >    as for COPY FROM and tuples that are inserted into a foreign table
> >    because it is a partition of a partitioned table.
> >
> >    In the case of a normal INSERT, BeginForeignModify will be called
> >    before ExecForeignInsert to perform any necessary setup.
> >    In the other cases, this setup has to happen in BeginForeignInsert.
> 
> These seem a bit redundant to me [...]
> 
> OK, how about something like the attached?  I reworded this a bit, though.

I like your patch better than my wording.

Thanks for the effort!

Yours,
Laurenz Albe




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

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Re: pgsql: Allow insert and update tuple routing and COPY for foreigntable
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix tablespace inheritance for partitioned rels