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