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

pgsql-server/src/bin/pg_dump pg_dump.c

From
tgl@postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.org    02/08/16 17:03:42

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

Log message:
    Code review for patch to dump primary and unique constraints as
    constraints, rather than as CREATE INDEX commands.


Re: pgsql-server/src/bin/pg_dump pg_dump.c

From
Bruce Momjian
Date:
Just checking, but these happen after the data is loaded, for
performance, right?

---------------------------------------------------------------------------

Tom Lane wrote:
> CVSROOT:    /cvsroot
> Module name:    pgsql-server
> Changes by:    tgl@postgresql.org    02/08/16 17:03:42
>
> Modified files:
>     src/bin/pg_dump: pg_dump.c
>
> Log message:
>     Code review for patch to dump primary and unique constraints as
>     constraints, rather than as CREATE INDEX commands.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Re: pgsql-server/src/bin/pg_dump pg_dump.c

From
Tom Lane
Date:
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Just checking, but these happen after the data is loaded, for
> performance, right?

Yeah, they're dumped at the same place we'd formerly have dumped CREATE
INDEX commands.

            regards, tom lane