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:45
Message-ID: 20100615190445.8D9C97541D4@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:
----
REL8_1_STABLE

Modified Files:
--------------
pgsql/contrib/dblink:
dblink.c (r1.48.2.10 -> r1.48.2.11)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/dblink.c?r1=1.48.2.10&r2=1.48.2.11)
pgsql/contrib/dblink/expected:
dblink.out (r1.16.2.3 -> r1.16.2.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/expected/dblink.out?r1=1.16.2.3&r2=1.16.2.4)
pgsql/contrib/dblink/sql:
dblink.sql (r1.15.2.1 -> r1.15.2.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/sql/dblink.sql?r1=1.15.2.1&r2=1.15.2.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-06-15 19:04:52 pgsql: Fix dblink_build_sql_insert() and related functions to handle
Previous Message Tom Lane 2010-06-15 19:04:34 pgsql: Fix dblink_build_sql_insert() and related functions to handle