Fix dblink_build_sql_insert() and related functions to handle dropped
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Jun 2010 19:04:22 +0000 (19:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Jun 2010 19:04:22 +0000 (19:04 +0000)
commit37d8570d4d3f9e5d14ea152f99c5a848a5a2d611
tree89664d306511d7ee485c1d4c009486f5f8d7e0d6
parent9486eeb714090ea1f3c3451e618ad1f4ec1c8f47
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