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

From Tom Lane
Subject Re: Changing constraints to deferrable
Date
Msg-id 11017.1111518329@sss.pgh.pa.us
Whole thread Raw
In response to Changing constraints to deferrable  (Greg Stark <gsstark@mit.edu>)
Responses Re: Changing constraints to deferrable  (Greg Stark <gsstark@mit.edu>)
List pgsql-general
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.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Question about function body checking and 8.1
Next
From: Tom Lane
Date:
Subject: Re: Question about function body checking and 8.1