Fix dblink_build_sql_insert() and related functions to handle dropped
Tom Lane <tgl@sss.pgh.pa.us>
Fix dblink_build_sql_insert() and related functions to handle dropped columns correctly. In passing, get rid of some dead logic in the underlying get_sql_insert() etc functions --- there is no caller that will pass null value-arrays to them. Per bug report from Robert Voinea.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/dblink/dblink.c | modified | +36 −38 |
| contrib/dblink/expected/dblink.out | modified | +37 −0 |
| contrib/dblink/sql/dblink.sql | modified | +26 −0 |