Check to ensure the number of primary key fields supplied does not
Joe Conway <mail@joeconway.com>
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
| Path | Change | +/− |
|---|---|---|
| contrib/dblink/dblink.c | modified | +52 −0 |
| contrib/dblink/expected/dblink.out | modified | +9 −0 |
| contrib/dblink/sql/dblink.sql | modified | +6 −0 |