Thread: pgsql/src/bin/pg_dump pg_dump.c

pgsql/src/bin/pg_dump pg_dump.c

From
momjian@postgresql.org (Bruce Momjian - CVS)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    momjian@postgresql.org    02/04/13 15:57:19

Modified files:
    src/bin/pg_dump: pg_dump.c

Log message:
    Rod's patch does what it is supposed to do, but it also includes
    some old code to add PK constraints to CREATE TABLE. That stuff
    had been removed as part of my original patch for pg_dump a
    little while ago.

    The attached patch fixes this by removing (again :-) ) the
    code in dumpTables() to perform PK creation during CREATE
    TABLE. I briefly tested it locally and it fixes both of
    Tom's test cases.

    Please apply.

    Cheers,

    Neil

    --
    Neil Conway <neilconway@rogers.com>