Re: Changing constraints to deferrable - Mailing list pgsql-general

From Greg Stark
Subject Re: Changing constraints to deferrable
Date
Msg-id 87d5tr9rx9.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: Changing constraints to deferrable  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Greg Stark <gsstark@mit.edu> writes:
> > Is it enough to just do
> >   update pg_constraint set condeferrable = 't' where contype = 'f';
>
> I think you'd need to start a fresh backend session --- the relcache
> entries for the tables probably won't notice the above hack.

Sorry, forgot to mention that I did that.

--
greg

pgsql-general by date:

Previous
From: Thomas F.O'Connell
Date:
Subject: checkpoint_timeout
Next
From: John DeSoi
Date:
Subject: Re: OSX, ODBC and Office 2004