public inbox for [email protected]
help / color / mirror / Atom feedFrom: Adrian Klaver <[email protected]>
To: Ron Johnson <[email protected]>
To: pgsql-general <[email protected]>
Subject: Re: pg_restore failed on foreign key constraint
Date: Fri, 13 Feb 2026 08:14:49 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <CANzqJaDbrmgAXmctgFR62o22+CMYnNjmKd06uX9RD3jjUj9u=Q@mail.gmail.com>
References: <CANzqJaD1JNeJfNJkxZOvqSw=ueJLzq3hM3tUf5FJNkbxEr8Z4A@mail.gmail.com>
<[email protected]>
<CANzqJaB3rHWWHQD2aUqrQvZcdo_doOKTNFcMkBnkvoTt4_JriA@mail.gmail.com>
<[email protected]>
<CANzqJaDbrmgAXmctgFR62o22+CMYnNjmKd06uX9RD3jjUj9u=Q@mail.gmail.com>
On 2/13/26 08:05, Ron Johnson wrote:
> On Fri, Feb 13, 2026 at 10:55 AM Adrian Klaver
> <[email protected] <mailto:[email protected]>> wrote:
>
> On 2/13/26 06:18, Ron Johnson wrote:
> > On Fri, Feb 13, 2026 at 1:43 AM Laurenz Albe
> <[email protected] <mailto:[email protected]>
> > <mailto:[email protected]
> <mailto:[email protected]>>> wrote:
>
> > Turns out that there's a nightly cron job that dumps this (and
> other)
> > tables with the "--data-only --disable-triggers" options and then
> does
> > "psql -Xaf mumble.sql" to load them into this database.
> >
> > But access_email_id=2073 is in the source access_email, so I've
> got to
> > figure out why it's not being loaded into the target.
>
> Is it in the dump file from the source?
>
>
> Some tables aren't being dumped at the source; Thus, the missing records.
Un-confuse me, how do the below relate?:
"Turns out that there's a nightly cron job that dumps this (and other)
tables with the "--data-only --disable-triggers" options and then does
"psql -Xaf mumble.sql" to load them into this database.
But access_email_id=2073 is in the source access_email, so I've got to
figure out why it's not being loaded into the target."
and
"Some tables aren't being dumped at the source"
>
> --
> Death to <Redacted>, and butter sauce.
> Don't boil me, I'm still alive.
> <Redacted> lobster!
--
Adrian Klaver
[email protected]
view thread (4+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pg_restore failed on foreign key constraint
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox