Re: Alter Contraint

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Childs <blue(dot)dragon(at)blueyonder(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Alter Contraint
Date: 2003-02-07 15:04:09
Message-ID: 26808.1044630249@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Peter Childs <blue(dot)dragon(at)blueyonder(dot)co(dot)uk> writes:
> Now we can actually use Constraints properly in 7.3 (unlike
> previous versions) Is it possible to change them without dropping and
> recreating.
> I think somone else has already asked this within the last few
> days. But what I need to do is make my constraints deferrable.

Have you looked at SET CONSTRAINTS ? I'm not sure how complete our
implementation is, but it seems more nearly a match for your problem
than a persistent ALTER command.

> I'm not really sure why deferrable is not the default.

Because the SQL spec says so.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2003-02-07 15:16:29 Re: List online archives and spam
Previous Message Teodor Sigaev 2003-02-07 15:01:14 Re: [HACKERS] Alpha version of contrib/tsearch is available for testing