]> granicus.if.org Git - postgresql/commit
Fix dblink_build_sql_insert() and related functions to handle dropped
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Jun 2010 19:04:45 +0000 (19:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Jun 2010 19:04:45 +0000 (19:04 +0000)
commit7577975515dd0a2896e3660eb55db0de0544106d
tree59b7248b17f557344fe67e6e060df4e5eb6e970a
parent7a1d80b91c5147bf3c8cb6c6ccbfef3deb3dc3c5
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.
contrib/dblink/dblink.c
contrib/dblink/expected/dblink.out
contrib/dblink/sql/dblink.sql