Re: [HACKERS] Help with pl/pgsql, triggers, and foreign keys - Mailing list pgsql-hackers

From Don Baccus
Subject Re: [HACKERS] Help with pl/pgsql, triggers, and foreign keys
Date
Msg-id 3.0.1.32.20000128215606.00ed0610@mail.pacifier.com
Whole thread Raw
In response to Help with pl/pgsql, triggers, and foreign keys  (Roland Roberts <roberts@panix.com>)
List pgsql-hackers
At 11:22 PM 1/28/00 -0500, Roland Roberts wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>
>The Postgres guide says that foreign keys can be partially emulated
>via triggers.  Just how "partial" is this.  I can't seem to get the
>following to work.  Would it work if I wrote it in C?  Would I need to
>open a second connection to the database?  Would it work if my second
>key was really in another table?

Given that foreign keys are implemented in the current sources and
coming out for real in v7.0 beta in two weeks, how much effort do
you really want to put into emulation???



- Don Baccus, Portland OR <dhogaza@pacifier.com> Nature photos, on-line guides, Pacific Northwest Rare Bird Alert
Serviceand other goodies at http://donb.photo.net.
 


pgsql-hackers by date:

Previous
From: Don Baccus
Date:
Subject: Re: [HACKERS] Copyright
Next
From: Philip Warner
Date:
Subject: Re: [HACKERS] Copyright