Re: pg_dump and pg_restore and foreign keys - Mailing list pgsql-general

From Tore Halvorsen
Subject Re: pg_dump and pg_restore and foreign keys
Date
Msg-id CADGw-Sc1UCSCYqkizNuOKOchcq-4vg-DjbgzWm4FUowntONCkA@mail.gmail.com
Whole thread Raw
In response to Re: pg_dump and pg_restore and foreign keys  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_dump and pg_restore and foreign keys
List pgsql-general
Then I'll try that, thank you :)

On Wed, Oct 27, 2021 at 4:04 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
Tore Halvorsen <tore.halvorsen@gmail.com> writes:
> That would be appending it for "pg_catalog.pg_get_constraintdef(oid) AS
> condef"  in getConstraints in pg_dump.c?

No, you want to mess with the text printed by dumpConstraint().

                        regards, tom lane


--
Eld på åren og sol på eng gjer mannen fegen og fjåg. [Jøtul]
<demo> Tore Halvorsen || +052 0553034554

pgsql-general by date:

Previous
From: Mitar
Date:
Subject: Re: Determining if a table really changed in a trigger
Next
From: Jérémy Garniaux
Date:
Subject: psql could not connect to server after complete reinstallation [Ubuntu 21.10 / PostgreSQL 13]