question about auto increment like

From: Don Patou <pknoob(at)noos(dot)fr>
To: pgsql-novice(at)postgresql(dot)org
Subject: question about auto increment like
Date: 2003-04-03 18:24:40
Message-ID: 200304032009.13704.pknoob@noos.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I'm looking for a way to auto increment a field each time an new entry is
added (kind of like in mysql) but I also want it to automatically adjust all
other entries in case one of them is deleted if u see what I mean.
do I need to write a function myself or is there a functionnality in pgsql
that does just that?

thanx in advance

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Devrim GUNDUZ 2003-04-03 18:53:06 Re: [NOVICE] Postgres Syslog
Previous Message Chris Pizzo 2003-04-03 18:18:29 Large table updates