Re: Changing constraints to deferrable

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Changing constraints to deferrable
Date: 2005-03-22 19:05:29
Message-ID: 11017.1111518329@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greg Stark <gsstark(at)mit(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-03-22 19:19:03 Re: Question about function body checking and 8.1
Previous Message Tom Lane 2005-03-22 18:48:00 Re: Question about function body checking and 8.1