Re: Dropping CHECK constraints - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Dropping CHECK constraints
Date
Msg-id 3028.984971546@sss.pgh.pa.us
Whole thread Raw
In response to Dropping CHECK constraints  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> In 7.0.3, is it safe to drop a check constraint by simply deleting it from
> the pg_relcheck table?

You'll need to adjust the relchecks count in the table's pg_class entry
as well.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Nat Howard
Date:
Subject: Re: Re: Beta6 for Tomorrow
Next
From: Tom Lane
Date:
Subject: Re: Performance monitor signal handler