Re: drop constraint unnamed? - Mailing list pgsql-general

From Tom Lane
Subject Re: drop constraint unnamed?
Date
Msg-id 17186.1034616271@sss.pgh.pa.us
Whole thread Raw
In response to drop constraint unnamed?  ("Andy Kriger" <akriger@greaterthanone.com>)
List pgsql-general
"Andy Kriger" <akriger@greaterthanone.com> writes:
> How do you drop an unnamed constraint from a table?

Is this a foreign-key constraint?  If so, you have to drop the three
triggers that implement it; see the recipe on the
techdocs.postgresql.org site.

(7.3 will have a more reasonable way to drop FK constraints ...)

            regards, tom lane

pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: deferred cascade delete re-check at end of transaction?
Next
From: Bruce Momjian
Date:
Subject: Re: string concatenation