Re: pg_restore failed on foreign key constraint - Mailing list pgsql-general

From Adrian Klaver
Subject Re: pg_restore failed on foreign key constraint
Date
Msg-id 9dccf4f8-2d45-4e6e-a374-1de66d6cc243@aklaver.com
Whole thread Raw
In response to Re: pg_restore failed on foreign key constraint  (Ron Johnson <ronljohnsonjr@gmail.com>)
Responses Re: pg_restore failed on foreign key constraint
List pgsql-general
On 2/13/26 06:18, Ron Johnson wrote:
> On Fri, Feb 13, 2026 at 1:43 AM Laurenz Albe <laurenz.albe@cybertec.at 
> <mailto:laurenz.albe@cybertec.at>> 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?

> 
> -- 
> Death to <Redacted>, and butter sauce.
> Don't boil me, I'm still alive.
> <Redacted> lobster!


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: pg_restore failed on foreign key constraint
Next
From: Ron Johnson
Date:
Subject: Re: pg_restore failed on foreign key constraint