Check to ensure the number of primary key fields supplied does not

Joe Conway <mail@joeconway.com>

Commit: a0b3d52af13631cff4af7cb407d45e3ed5b3e81c
Author: Joe Conway <mail@joeconway.com>
Date: 2010-02-03T23:02:28Z
Releases: 7.4.28
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.

Files

PathChange+/−
contrib/dblink/dblink.c modified +55 −0
contrib/dblink/expected/dblink.out modified +9 −0
contrib/dblink/sql/dblink.sql modified +6 −0