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 95a8a6e710d4c94a0ea71f4687c6ac93e5132754.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: pgsql: Allow insert and update tuple routing and COPY forforeign table  (Andres Freund <andres@anarazel.de>)
Список pgsql-committers
On Mon, 2019-04-22 at 14:07 -0700, Andres Freund wrote:
> How about just applying the patch from v12 on?
> > Then it is a behavior change in a major release, which is acceptable.
> > It requires the imaginary FDW above to add an empty BeginForeignInsert
> > callback function, but will unbreak FDW that slept through the change
> > that added COPY support.
> 
> I fail to see the advantage. It'll still require FDWs to be fixed to
> work correctly for v11, but additionally adds another set of API
> differences that needs to be fixed by another set of FDWs.  I think this
> ship simply has sailed.

I can accept that (having fixed my own FDW), but I am worried that it will
cause problems for FDW users.  Well, I guess they can always avoid COPY if
they don't want FDWs to crash.

Yours,
Laurenz Albe




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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix detection of passwords hashed with MD5 or SCRAM-SHA-256
Следующее
От: Amit Langote
Дата:
Сообщение: Re: pgsql: Allow insert and update tuple routing and COPY for foreigntable