Re: [INTERFACES] where did that date and time come from??

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: [INTERFACES] where did that date and time come from??
Дата
Msg-id 3720035D.1D8925BF@alumni.caltech.edu
обсуждение исходный текст
Ответ на where did that date and time come from??  (JT Kirkpatrick <jt-kirkpatrick@mpsllc.com>)
Список pgsql-interfaces
> How about this?
> added datetime default datetime(now()) not null,

Yes, this apparently works by converting from timestamp to datetime.
In general datetime has better dynamic range than does timestamp, but
for calculating 'now' both are equivalent in performance.

                    - Tom

--
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California

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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: [INTERFACES] ecpg cursors and scope
Следующее
От: "Shad Cool"
Дата:
Сообщение: libpq++