]> git.ipfire.org Git - thirdparty/postgresql.git/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:34 +0000 (19:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Jun 2010 19:04:34 +0000 (19:04 +0000)
commit0a557605f2e9efe3ea08392b308605f9fd3499c8
treec10e23f0863ec444f565d1f20188cea857e39777
parent7ea5d1c5aa59230101c03dc3cb160df1e1c1b1a2
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