Re: Time Stamp auto Field

Поиск
Список
Период
Сортировка
Искать
От
Bruno Wolff III
Тема
Re: Time Stamp auto Field
Дата
Msg-id
20061206152936.GB12499@wolff.to
Ответ на
Список
Дерево обсуждения
Time Stamp auto Field "deepak pal" <deepak.05pal@gmail.com>
Re: Time Stamp auto Field "A. Kretschmer" <andreas.kretschmer@schollglas.com>
Re: Time Stamp auto Field Bruno Wolff III <bruno@wolff.to>
On Tue, Dec 05, 2006 at 17:31:53 +0530,
  deepak pal  wrote:
> hi can we make a field auto incrementing field using Time Stamp data type

You can use a column default that uses current_timestamp for its expression.
If you also want to handle updates or override cases where people supply
values for that column, then you should look at using before triggers.
В списке pgsql-general по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: Array shift equivalent?
От: Bernhard Weisshuhn
Дата:
FAQ