From: Jim C. Nasby <jnasby@pervasive.com>
To: Ferindo Middleton Jr <fmiddleton@verizon.net>
Cc: Scott Marlowe <smarlowe@g2switchworks.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: Why doesn't the SERIAL data type automatically have a
Date: Tue, 4 Oct 2005 19:06:54 -0500
Message-ID: <20051005000654.GP40138@pervasive.com> (raw)
In-Reply-To: <43431544.5020306@verizon.net>
References: <4338961E.20100@verizon.net>
<5899.1127782998@sss.pgh.pa.us>
<1127835194.29347.12.camel@state.g2switchworks.com>
<20051004225250.GN40138@pervasive.com>
<43431544.5020306@verizon.net>
On Tue, Oct 04, 2005 at 07:50:28PM -0400, Ferindo Middleton Jr wrote:
> Based on the feedback I received after I made that original post, it
> seemed most people don't use SERIAL with a unique constraint or primary
> key and I was blasted for making such a suggestion. I'm sorry... It
I don't think either assertion is true. I'd bet most of the developers
actually do normally use an index on a serial, since it's normally used
as a PK. And while people can be a bit terse with their replies, I
wouldn't say you were blasted. :)
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
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: jnasby@pervasive.com, fmiddleton@verizon.net, smarlowe@g2switchworks.com, tgl@sss.pgh.pa.us
Subject: Re: Why doesn't the SERIAL data type automatically have a
In-Reply-To: <20051005000654.GP40138@pervasive.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