]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Check to ensure the number of primary key fields supplied does not
authorJoe Conway <mail@joeconway.com>
Wed, 3 Feb 2010 23:02:28 +0000 (23:02 +0000)
committerJoe Conway <mail@joeconway.com>
Wed, 3 Feb 2010 23:02:28 +0000 (23:02 +0000)
commita0b3d52af13631cff4af7cb407d45e3ed5b3e81c
tree616443ec2457a19c8e05e9c71e67ceea503f67de
parent572f4758c375633a30dbc02ad874dba419f88aed
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