Re: Violation of non existing reference

From: js(at)deriva(dot)de
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Violation of non existing reference
Date: 2008-03-07 07:17:36
Message-ID: c59fe292-3a44-4be2-b613-2fac7f184955@n36g2000hse.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sorry, I was wrong. It's a charachter(12) not a varchar and it's a
domain.
The isins in z_ul either start with 'DE000' or with 'CH003'. PG seems
to compare only the first few charachters because when I set the
reference to CASCADE all z_ul entries that start with 'DE000' are
deleted. I tested it in another 8.3 database with the same effect but
it works well with our old 8.2.6 db.

On 6 Mrz., 22:54, t(dot)(dot)(dot)(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane) wrote:
> You mean a DOMAIN, or you mean a special datatype with custom C code?
> If the latter, I'd suspect the C code. 8.3 has more stringent coding
> rules for variable-length datatypes than prior releases did.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tony Cade 2008-03-07 07:35:40 Re: Changing column names in tables
Previous Message Tom Lane 2008-03-07 07:04:05 Re: staring pgsql on fedora 8