You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix crash with COPY FROM and/or foreign partition routing operations.
COPY FROM and/or foreign partition routing code path in core assumes
that FDW has BeginForeignInsert() APIs present and thus later
executes ExecForeignInsert(). However, mysql_fdw does not support
routable foreign-table partitions and/or executing COPY FROM on
foreign tables and thus do not have BeginForeignInsert() API
implemented. But as it has ExecForeignInsert() API, it gets called
for these operations and results in the server crash. To fix this,
add the BeginForeignInsert() API that throws an error. Also, add
EndForeignInsert() similar to the Begin API.
Reported on GitHub through issue #208 and an initial patch by
Ian Barwick (ibarwick).
FDW-224, patch further revised by Suraj Kharage, reviewed by
Jeevan Ladhe.
0 commit comments