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

From Michael Fuhr
Subject Re: Changing constraints to deferrable
Date
Msg-id 20050323201341.GB53187@winnie.fuhr.org
Whole thread Raw
In response to Re: Changing constraints to deferrable  (Greg Stark <gsstark@mit.edu>)
Responses Re: Changing constraints to deferrable
List pgsql-general
On Wed, Mar 23, 2005 at 12:13:33PM -0500, Greg Stark wrote:
>
> Consider this a plea for an ALTER TABLE ALTER CONSTRAINT command :)

Shouldn't ALTER TABLE DROP CONSTRAINT followed by ALTER TABLE ADD
CONSTRAINT work?  It does for me in simple tests.  It's a little
more work than a single ALTER TABLE ALTER CONSTRAINT would be, but
it's less hackish than updating the system catalogs directly.  Or
am I missing something?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-general by date:

Previous
From: "Jim Buttafuoco"
Date:
Subject: Re: inherited table and rules
Next
From: Tom Lane
Date:
Subject: Re: debug_print_plan