From: Markus Bertheau <twanger@bluetwanger.de>
To: pgsql-sql@postgresql.org, Josh Berkus <josh@aligodbs.com>
Subject: Re: question about which column(s) are the right foreign key
Date: Fri, 25 Jun 2004 17:12:43 +0200
Message-ID: <1088176363.3189.15.camel@teetnang> (raw)
As a follow up, I now have object versions with the combined primary key
(object id, date and time of object version creation). Now when I need
to refer to an object version in a foreign key, do I let the object id
column itself reference the objects table in addition to it being part
of the foreign key to the object versions table?
Thanks.
--
Markus Bertheau <twanger@bluetwanger.de>
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: twanger@bluetwanger.de, josh@aligodbs.com
Subject: Re: question about which column(s) are the right foreign key
In-Reply-To: <1088176363.3189.15.camel@teetnang>
* 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