From: Daniel Spratlen <spratlen@arches.uga.edu>
To: pgsql-sql@postgreSQL.org <pgsql-sql@postgreSQL.org>
Subject: Foreign Keys, Triggers and such
Date: Wed, 19 Jan 2000 14:16:30 -0500
Message-ID: <38860D8E.B3296016@arches.uga.edu> (raw)
I am a MIS student at the University of Georgia. I am doing a project
for my Systems Analysis and Design class, and I am using PostgreSQL for
the Database. I have taken a data management class and we always used
foreign keys. I used a win32 program written by Power Soft called Data
Architect. I used the PostgreSQL odbc drivers to interface with the
linux box with the database on it. The reason I am writing all this, is
that it created all the tables, indexes, and sequences just fine, but it
skipped over the foreign keys. I understand that a trigger can be used
instead of a foreign key, and I have read an explanation for this reason
at
http://www.mysql.org/Manual_chapter/manual_Compatibility.html#Missing_Foreign_Keys
I was wondering if this is the same reason that PostgreSQL doesn't use
foreign keys, and I was wondering exactly how to use the triggers
instead of the foreign keys. Sorry for a long story in my message.
Thanks in advance for the help.
Daniel Spratlen
spratlen@arches.uga.edu
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: spratlen@arches.uga.edu
Subject: Re: Foreign Keys, Triggers and such
In-Reply-To: <38860D8E.B3296016@arches.uga.edu>
References: <38860D8E.B3296016@arches.uga.edu>
* 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