Re: pg_dump and pg_restore and foreign keys

From: Tore Halvorsen <tore(dot)halvorsen(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_dump and pg_restore and foreign keys
Date: 2021-10-27 14:08:05
Message-ID: CADGw-Sc1UCSCYqkizNuOKOchcq-4vg-DjbgzWm4FUowntONCkA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Then I'll try that, thank you :)

On Wed, Oct 27, 2021 at 4:04 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Tore Halvorsen <tore(dot)halvorsen(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2021-10-27 15:02:26 Re: ZFS filesystem - supported ?
Previous Message Mitar 2021-10-27 14:06:38 Re: Determining if a table really changed in a trigger