Re: safely exchanging primary keys? - Mailing list pgsql-sql

From Tom Lane
Subject Re: safely exchanging primary keys?
Date
Msg-id 8629.1274710942@sss.pgh.pa.us
Whole thread Raw
In response to safely exchanging primary keys?  (Louis-David Mitterrand <vindex+lists-pgsql-sql@apartia.org>)
List pgsql-sql
Louis-David Mitterrand <vindex+lists-pgsql-sql@apartia.org> writes:
> When I run that function it seems the foreign keys are not properly
> updated and the data ends up in a mess.

Yeah?  Could we see an actual example of what you're talking about?
And which PG version is this?
        regards, tom lane


pgsql-sql by date:

Previous
From: Rob Sargent
Date:
Subject: Re: safely exchanging primary keys?
Next
From: Tim Landscheidt
Date:
Subject: Re: safely exchanging primary keys?