question about auto increment like

Поиск
Список
Период
Сортировка
От Don Patou
Тема question about auto increment like
Дата
Msg-id 200304032009.13704.pknoob@noos.fr
обсуждение исходный текст
Ответы Re: question about auto increment like  (Josh Berkus <josh@agliodbs.com>)
Список 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


В списке pgsql-novice по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Translating Oracle CREATE TRIGGER statement
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: question about auto increment like