]> 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:02:17 +0000 (23:02 +0000)
committerJoe Conway <mail@joeconway.com>
Wed, 3 Feb 2010 23:02:17 +0000 (23:02 +0000)
commit7a1c615deee9a23425606ca8c6e131ddebcac5b7
treeed1bf8bbb05fc2c9f0f20a396a618fca11bf191a
parentc7ddee05cdb81630664280f5e8bd9845c2bcc26a
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