]> 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:59 +0000 (19:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Jun 2010 19:04:59 +0000 (19:04 +0000)
commit873b9b8a3d5d57520484fabef680e2cbddc58760
tree9235989bee956a9105898510e16152db45b8c873
parent240076b3c41a674d04b6c92f95a43b3209791841
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