Re: Error message for FK referencing deferrable unique/PK

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dean Rasheed <dean(dot)a(dot)rasheed(at)googlemail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Error message for FK referencing deferrable unique/PK
Date: 2009-08-12 23:02:06
Message-ID: 14711.1250118126@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dean Rasheed <dean(dot)a(dot)rasheed(at)googlemail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-08-12 23:04:27 Re: surprising trigger/foreign key interaction
Previous Message Tom Lane 2009-08-12 22:44:48 Re: schemapg.h