Re: Yet Another Timestamp Question: Time Defaults

Поиск
Список
Период
Сортировка
От Jasen Betts
Тема Re: Yet Another Timestamp Question: Time Defaults
Дата
Msg-id ke2uv1$oue$2@gonzo.reversiblemaps.ath.cx
обсуждение исходный текст
Ответ на Yet Another Timestamp Question: Time Defaults  (Rich Shepard <rshepard@appl-ecosys.com>)
Список pgsql-general
On 2013-01-21, Rich Shepard <rshepard@appl-ecosys.com> wrote:
>    What is the behavior if a column data type is timestamptz but there is
> only the date portion available? There must be a default time; can that be
> defined?

No, if you don't specify the time 00:00 (midnight) is used.
if you don't specify a timezone it's local midnight, so viewed from
a neighbouring timezone it could be 1AM or 11pm the previous day.


--
⚂⚃ 100% natural

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

Предыдущее
От: Jasen Betts
Дата:
Сообщение: Re: Running update in chunks?
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: Yet Another Timestamp Question: Time Defaults