pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Don Baccus <dhogaza@pacifier.com>
To: roberts@panix.com
To: pgsql-hackers@postgresql.org
To: pgsql-sql@postgresql.org
Subject: Re: [HACKERS] Help with pl/pgsql, triggers, and foreign keys
Date: Fri, 28 Jan 2000 21:56:06 -0800
Message-ID: <3.0.1.32.20000128215606.00ed0610@mail.pacifier.com> (raw)
In-Reply-To: <m27lgt1p7l.fsf_-_@tycho.rlent.pnet>
References: <"Ross J. Reedstrom"'s message of "Fri, 28 Jan 2000 16:21:15 -0600">

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 Service and other goodies at
  http://donb.photo.net.



view thread (4+ messages)  latest in thread

Message-ID: <3.0.1.32.20000128215606.00ed0610@mail.pacifier.com>
Permalink:  ../3.0.1.32.20000128215606.00ed0610@mail.pacifier.com/
Also on:    postgresql.org/message-id/3.0.1.32.20000128215606.00ed0610@mail.pacifier.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: dhogaza@pacifier.com, roberts@panix.com, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] Help with pl/pgsql, triggers, and foreign keys
  In-Reply-To: <3.0.1.32.20000128215606.00ed0610@mail.pacifier.com>
  References: <3.0.1.32.20000128215606.00ed0610@mail.pacifier.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox