Re: safely exchanging primary keys?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Louis-David Mitterrand <vindex+lists-pgsql-sql(at)apartia(dot)org>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: safely exchanging primary keys?
Date: 2010-05-24 14:22:22
Message-ID: 8629.1274710942@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Louis-David Mitterrand <vindex+lists-pgsql-sql(at)apartia(dot)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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Rob Sargent 2010-05-24 14:22:23 Re: safely exchanging primary keys?
Previous Message Louis-David Mitterrand 2010-05-24 14:05:22 Re: safely exchanging primary keys?