Re: set constraints docs page - Mailing list pgsql-hackers

From Tom Lane
Subject Re: set constraints docs page
Date
Msg-id 23541.1060783513@sss.pgh.pa.us
Whole thread Raw
In response to set constraints docs page  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> I notice on the SET CONSTRAINTS doc page, it says SET CONSTRAINTS
> <constraint> ...
> But it doesn't at all make it clear what <constraint> is, since cosntraint
> names are per-relation I thought?

Looking at the code, it will set the mode for *all* FKs with the same
constraint name, regardless of which relation they are on.

Feel free to send a doc patch...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: Parsing speed (was Re: pgstats_initstats() cost)
Next
From: Tom Lane
Date:
Subject: Re: Parsing speed (was Re: pgstats_initstats() cost)