Re: question about auto increment like - Mailing list pgsql-novice

From Josh Berkus
Subject Re: question about auto increment like
Date
Msg-id 200304031405.46509.josh@agliodbs.com
Whole thread Raw
In response to question about auto increment like  (Don Patou <pknoob@noos.fr>)
List 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


pgsql-novice by date:

Previous
From: Don Patou
Date:
Subject: question about auto increment like
Next
From: Tom Ansley
Date:
Subject: Upgraded from 7.2 to 7.3