| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Richard Huxton <dev(at)archonet(dot)com> |
| Cc: | Alban Hertroys <alban(at)magproductions(dot)nl>, pgsql-general(at)postgresql(dot)org, vincent(at)magproductions(dot)nl |
| Subject: | Re: Referencing "less-unique" foreign keys |
| Date: | 2005-08-09 15:18:09 |
| Message-ID: | 16323.1123600689@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Richard Huxton <dev(at)archonet(dot)com> writes:
> Alban Hertroys wrote:
>> I'm not sure how we got the "content" column from "description" to
>> reference "localization" back in version 7.3. Fact is, we can't seem to
>> do this anymore since version 7.4:
> I don't have 7.3.x to hand any more, but if you could create such a
> reference it was a bug.
Having just tried it, I can say that the last version that would take
that without complaint is 7.0. 7.1 and later give variants of
ERROR: UNIQUE constraint matching given keys for referenced table "localization" not found
So I'm not sure what Alban actually did.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2005-08-09 15:24:23 | Re: Query stucked in pg_stat_activity |
| Previous Message | Richard Huxton | 2005-08-09 15:03:02 | Re: Reference new.* or old.* in dynamic statement? |