From: Josh Berkus <josh@agliodbs.com>
To: Kenneth Gonsalves <lawgon@thenilgiris.com>
To: Oliver Elphick <olly@lfix.co.uk>
Cc: pgsql-sql@postgresql.org
Subject: Re: surrogate key or not?
Date: Sun, 8 Aug 2004 15:19:16 -0700
Message-ID: <200408081519.16162.josh@agliodbs.com> (raw)
In-Reply-To: <0408080559370M.01190@thenilgiris.com>
References: <1090325769.3241.27.camel@dicaprio.akademie1.de>
<1091927196.13140.174.camel@linda>
<0408080559370M.01190@thenilgiris.com>
Kenneth,
> but why would anyone want to change the value of an autogenerated serial
row?
But if you're using a real key, it may need to change. The only reason *not*
do do it that way is performance issues with CASCADE.
--
-Josh Berkus
Aglio Database Solutions
San Francisco
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: josh@agliodbs.com, lawgon@thenilgiris.com, olly@lfix.co.uk
Subject: Re: surrogate key or not?
In-Reply-To: <200408081519.16162.josh@agliodbs.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