Fix dblink_build_sql_insert() and related functions to handle dropped
authorTom Lane <[email protected]>
Tue, 15 Jun 2010 19:04:28 +0000 (19:04 +0000)
committerTom Lane <[email protected]>
Tue, 15 Jun 2010 19:04:28 +0000 (19:04 +0000)
commit9d4ec3c350a7fda25ea1d035300de0d25c07d25a
treec39fc7587e396aa7b0af90f7374e4ea3821d6669
parent93ad259139fac4fb0435ad6265a1d9a3d89997a7
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