Re: question about auto increment like

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Don Patou <pknoob(at)noos(dot)fr>, pgsql-novice(at)postgresql(dot)org
Subject: Re: question about auto increment like
Date: 2003-04-03 22:05:46
Message-ID: 200304031405.46509.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Don,

> I'm looking for a way to auto increment a field each time an new entry is
> added (kind of like in mysql)

See SERIAL data type.

> but I also want it to automatically adjust all
> other entries in case one of them is deleted if u see what I mean.

No, I don't. Can you be more specific?

--
-Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Alvaro Herrera 2003-04-03 22:15:40 Re: Postgres Syslog
Previous Message Lamar Owen 2003-04-03 19:30:00 Re: [NOVICE] Postgres Syslog