OSDN Git Service

Check to ensure the number of primary key fields supplied does not
authorJoe Conway <mail@joeconway.com>
Wed, 3 Feb 2010 23:01:11 +0000 (23:01 +0000)
committerJoe Conway <mail@joeconway.com>
Wed, 3 Feb 2010 23:01:11 +0000 (23:01 +0000)
commitfdac8cf998b9a41fa2b64cb3a80bc02548189082
tree493fba8a3a4fd6c16fa5a1fa0052a51d6efc024a
parent73a835eea079a012f51fe8be78282e6e3b66210f
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