Re: Alter Contraint

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Childs <blue(dot)dragon(at)blueyonder(dot)co(dot)uk>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Alter Contraint
Date: 2003-02-07 15:25:31
Message-ID: 20030207072350.J55735-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 7 Feb 2003, Tom Lane wrote:

> 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.

AFAIK, SET CONSTRAINTS only lets you change the check time of
deferrable constraints, it doesn't let you make a not deferrable
constraint deferrable.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lincoln Yeoh 2003-02-07 15:27:29 Re: converting Oracle to postgres
Previous Message Bruno Wolff III 2003-02-07 15:24:07 Re: Pg_dumpall problem[2]