Re: Error message for FK referencing deferrable unique/PK - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Error message for FK referencing deferrable unique/PK
Date
Msg-id 14711.1250118126@sss.pgh.pa.us
Whole thread Raw
In response to Error message for FK referencing deferrable unique/PK  (Dean Rasheed <dean.a.rasheed@googlemail.com>)
List pgsql-hackers
Dean Rasheed <dean.a.rasheed@googlemail.com> writes:
> I spotted another error message which could use improvement:
> ...
> The attached patch to transformFkeyCheckAttrs() makes the former case
> generate a similar error to the latter.

Ah, you caught me being lazy ;-).  I had actually considered doing this
while reviewing the deferrable-uniqueness patch, but ran out of energy
and did the one-liner change instead.  Patch applied.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: schemapg.h
Next
From: Tom Lane
Date:
Subject: Re: surprising trigger/foreign key interaction