Thread: pgsql: Check to ensure the number of primary key fields supplied does

pgsql: Check to ensure the number of primary key fields supplied does

From
joe@postgresql.org (Joe Conway)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/contrib/dblink:
        dblink.c (r1.87 -> r1.88)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/dblink.c?r1=1.87&r2=1.88)
    pgsql/contrib/dblink/expected:
        dblink.out (r1.27 -> r1.28)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/expected/dblink.out?r1=1.27&r2=1.28)
    pgsql/contrib/dblink/sql:
        dblink.sql (r1.22 -> r1.23)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/sql/dblink.sql?r1=1.22&r2=1.23)