Re:Foreign Keys - Mailing list pgsql-general

From Anand Surelia
Subject Re:Foreign Keys
Date
Msg-id 36029EDA.EAE6FC44@bytekinc.com
Whole thread Raw
In response to Foreign Keys  (Anand Surelia <anand@bytekinc.com>)
List pgsql-general
Hi,
I've managed to hack the code for check_primary_key. It now allows for a
option
[automatic|dependent]. It'll automatically insert into the parent table
if the primary key doesn't exists in the parent table and if the option
is "automatic". It works the same as before if the option is
"dependent".
If anybody is interested I might polish the code a bit and post to the
list.

Thanks,
Anand.


pgsql-general by date:

Previous
From: Anand Surelia
Date:
Subject: Foreign Key
Next
From: Stephen Davies
Date:
Subject: SQLPrimaryKeys