]> 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:23 +0000 (23:01 +0000)
committerJoe Conway <mail@joeconway.com>
Wed, 3 Feb 2010 23:01:23 +0000 (23:01 +0000)
commit14b22354e47877ddd307553dee4a1ef250b3320c
tree21cf96475d06cd84664b4c738678b7d071151817
parent4204ff3363c9ee56f1657df465022e1a4b764ff5
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