]> granicus.if.org Git - postgresql/commit
Check to ensure the number of primary key fields supplied does not
authorJoe Conway <mail@joeconway.com>
Wed, 3 Feb 2010 23:01:47 +0000 (23:01 +0000)
committerJoe Conway <mail@joeconway.com>
Wed, 3 Feb 2010 23:01:47 +0000 (23:01 +0000)
commitff6a12b3f341ad6d19da4b55322b80d72831904f
treea9560567f947c089a01bdd6c370740e7b1a4429c
parent46b6fbc9b4dc677419c4495e8f78182d6ae2e91c
Check to ensure the number of primary key fields supplied does not
exceed the total number of non-dropped source table fields for
dblink_build_sql_*(). Addresses bug report from Rushabh Lathia.

Backpatch all the way to the 7.3 branch.
contrib/dblink/dblink.c
contrib/dblink/expected/dblink.out
contrib/dblink/sql/dblink.sql