serial data type

From: Tom Allison <tallison(at)tacocat(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: serial data type
Date: 2004-09-25 23:04:05
Message-ID: 4155F965.9050403@tacocat.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Can I use the serial data type in lieu of an 'auto_number' field?

I asked something like this some months ago and it seems that
auto_number fields were addressed through a combination of triggers and
procedures to ensure that there were do duplicate KEYS generated.

Is it realistic to use the serial data type as a KEY?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-09-25 23:06:47 Re: SMgrRelation hashtable corrupted
Previous Message Joshua D. Drake 2004-09-25 22:26:17 Re: Replication options?