pgsql: Fix dblink_build_sql_insert() and related functions to handle

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix dblink_build_sql_insert() and related functions to handle
Date: 2010-06-15 19:04:59
Message-ID: 20100615190459.DAF1D7541D4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
pgsql/contrib/dblink:
dblink.c (r1.25.4.11 -> r1.25.4.12)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/dblink.c?r1=1.25.4.11&r2=1.25.4.12)
pgsql/contrib/dblink/expected:
dblink.out (r1.11.2.3 -> r1.11.2.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/expected/dblink.out?r1=1.11.2.3&r2=1.11.2.4)
pgsql/contrib/dblink/sql:
dblink.sql (r1.10.4.2 -> r1.10.4.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/sql/dblink.sql?r1=1.10.4.2&r2=1.10.4.3)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2010-06-15 19:48:30 pgsql: Remove hstore's text[] => text[] operator.
Previous Message Tom Lane 2010-06-15 19:04:52 pgsql: Fix dblink_build_sql_insert() and related functions to handle