What is the syntax for setting a default date in PostgreSQL?

Поиск
Список
Период
Сортировка
От Frank Church
Тема What is the syntax for setting a default date in PostgreSQL?
Дата
Msg-id 1140433168.43f9a1107c27b@webmail.adontendev.net
обсуждение исходный текст
Ответы Re: What is the syntax for setting a default date in PostgreSQL?  (Alban Hertroys <alban@magproductions.nl>)
Список pgsql-general
This issue always stumps me. I need to set the default date for a column in
postgres. A value for today, today + x days, now (timestamp), now + x amount of
days.

I never seem to be able to locate it in the documentation or online. Can anyone
post it here once and for all for posterity?

I will be much obliged :)


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

Предыдущее
От: Andreas Seltenreich
Дата:
Сообщение: Re: simple explain output.
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: What is the syntax for setting a default date in PostgreSQL?