From: | Fabio Mancinelli <mancinel(at)univaq(dot)it> |
---|---|
To: | David Jackson <cjamblue(at)smokies(dot)amnix(dot)com> |
Cc: | pgsql-novice(at)hub(dot)org, pgsql-sql(at)hub(dot)org |
Subject: | Re: [SQL] Foreign Key ?? |
Date: | 1998-11-09 09:49:36 |
Message-ID: | Pine.GSO.3.96.981109104539.6800A-100000@brutus |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Sun, 8 Nov 1998, David Jackson wrote:
> CONSTRAINT NAME_FK FOREIGN KEY (client_name)
> REFERENCES client(client_name)
> );
> This results in FUNCTION NOT IMPLETEMENTED error.
>
Yes, that's true. There is no built-in referential integrity in
PostgresSQL. Anyway there are two "external" functions in the contrib/spi
directory which implement the referential integrity.
You can use these functions via triggers.
All the docs and the sources are in the contrib/spi dir in the source code
distribution (v6.4), I don't remember if they are also available in the
v6.3 source code distibution.
Bye.
------------------------------------------------------------------------------
Greetings from Fabio Mancinelli E-Mail : mancinel(at)univaq(dot)it
Computer Science Student xenon(at)olografix(dot)org
University of L'Aquila WWW : http://univaq.it/~mancinel
(PGP Public Key available) http://www.olografix.org/xenon
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Mather (Powered By Linux) | 1998-11-09 10:25:52 | Re: [NOVICE] (Fwd) Hi and some advice on Dates |
Previous Message | David Jackson | 1998-11-08 16:59:17 | Foreign Key ?? |