Referential Integrity problem

Started by Herb Blackerabout 24 years ago3 messagesgeneral
Jump to latest
#1Herb Blacker
herbblacker@isgenesis.com

Running PG 7.1.3...
I have a table of titles and suffixes, with periods (i.e. Mr. Mrs. C.P.A.)
There is a foreign key between the title and suffix tables, and my
patient table.
When I do an insert, it fails on Referential Integrity (RI).
If I take the periods out, the insert works with RI.
If I remove the RI, then the periods work.

Is this a bug?
--
_________________________
Herb Blacker
Database Administrator
ReCare, Inc.
(512) 791-4340
herbblacker@isgenesis.com

#2Stephan Szabo
sszabo@megazone23.bigpanda.com
In reply to: Herb Blacker (#1)
Re: Referential Integrity problem

On Fri, 22 Mar 2002, Herb Blacker wrote:

Running PG 7.1.3...
I have a table of titles and suffixes, with periods (i.e. Mr. Mrs. C.P.A.)
There is a foreign key between the title and suffix tables, and my
patient table.
When I do an insert, it fails on Referential Integrity (RI).
If I take the periods out, the insert works with RI.
If I remove the RI, then the periods work.

Is this a bug?

Can you send schema and sample data?

#3Jan Wieck
JanWieck@Yahoo.com
In reply to: Herb Blacker (#1)
Re: Referential Integrity problem

Herb Blacker wrote:

Running PG 7.1.3...
I have a table of titles and suffixes, with periods (i.e. Mr. Mrs. C.P.A.)
There is a foreign key between the title and suffix tables, and my
patient table.
When I do an insert, it fails on Referential Integrity (RI).
If I take the periods out, the insert works with RI.
If I remove the RI, then the periods work.

Cannot reproduce that problem here. Could you please post a
complete SQL script that reproduces the exact problem?

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck@Yahoo.com #

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com