Re: Default Timestamp 'Now' bug with 7.4 on Panther.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Default Timestamp 'Now' bug with 7.4 on Panther.
Дата
Msg-id 9438.1076869892@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Default Timestamp 'Now' bug with 7.4 on Panther.  (Harry Hochheiser <hsh@nih.gov>)
Ответы Re: Default Timestamp 'Now' bug with 7.4 on Panther.  (Harry Hochheiser <hsh@nih.gov>)
Список pgsql-bugs
Harry Hochheiser <hsh@nih.gov> writes:
> Running Postgres 7.4 on Panther, there seems to be a problem with
> setting a timestamp column to have a default of 'now':

There was an intentional change of behavior --- see the release notes.
The supported way to do this is to use CURRENT_TIMESTAMP or now() as
the column default.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: copy problem
Следующее
От: Pavel Stehule
Дата:
Сообщение: plpgsql - variable's names conflict with table field names