On 04/16/2012 07:02 PM, amador alvarez wrote: > How about deferring the FK's while recreating the PK ? > or using a temporary parallel table to be pointed by the other tables > (FK) and swap it up on the recreation. Hmm.. Interesting. But it appears that you have to declare the foreign key as deferrable at creation. Is there any way to set an existing foreign key as deferrable? - Chris -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin