Re: postgres_fdw: batch inserts vs. before row triggers
| От | Tom Lane |
|---|---|
| Тема | Re: postgres_fdw: batch inserts vs. before row triggers |
| Дата | |
| Msg-id | 4065383.1669395453@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: postgres_fdw: batch inserts vs. before row triggers (Etsuro Fujita <etsuro.fujita@gmail.com>) |
| Ответы |
Re: postgres_fdw: batch inserts vs. before row triggers
|
| Список | pgsql-hackers |
Etsuro Fujita <etsuro.fujita@gmail.com> writes:
> I have committed the patch.
Apologies for not having paid attention to this thread, but ...
I don't think the committed patch is acceptable at all, at least
not in the back branches, because it creates a severe ABI break.
Specifically, by adding a field to ResultRelInfo you have changed
the array stride of es_result_relations, and that will break any
previously-compiled extension code that accesses that array.
I'm not terribly pleased with it having added a field to EState
either. That seems much more global than what we need here.
Couldn't we add the field to ModifyTableState, instead?
regards, tom lane
В списке pgsql-hackers по дате отправления: