Re: postgres_fdw: batch inserts vs. before row triggers
От | Etsuro Fujita |
---|---|
Тема | Re: postgres_fdw: batch inserts vs. before row triggers |
Дата | |
Msg-id | CAPmGK14iHt3u4YkCGYKuPRJz80cmSmeakjskS36rZ7ZypgcNxA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: postgres_fdw: batch inserts vs. before row triggers (Tomas Vondra <tomas.vondra@enterprisedb.com>) |
Ответы |
Re: postgres_fdw: batch inserts vs. before row triggers
|
Список | pgsql-hackers |
Hi, On Tue, Apr 19, 2022 at 9:00 PM Tomas Vondra <tomas.vondra@enterprisedb.com> wrote: > On 4/19/22 11:16, Etsuro Fujita wrote: > > On Sun, Apr 17, 2022 at 6:20 PM Etsuro Fujita <etsuro.fujita@gmail.com> wrote: > >> So I think we should disable batch insert in such cases, just as we > >> disable multi insert when there are any before row triggers on the > >> target (local) tables/partitions in copyfrom.c. Attached is a patch > >> for that. > > > > If there are no objections from Tomas or anyone else, I'll commit the patch. > +1, I think it's a bug to do batch insert in this case. Pushed and back-patched to v14, after tweaking a comment a little bit. Thanks! Best regards, Etsuro Fujita
В списке pgsql-hackers по дате отправления: