Indicated Epoch 0 is incorrect

Поиск
Список
Период
Сортировка
От ian@thepathcentral.com
Тема Indicated Epoch 0 is incorrect
Дата
Msg-id 20160603234404.9927.3198@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: Indicated Epoch 0 is incorrect  (Steve Crawford <scrawford@pinpointresearch.com>)
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.1/static/functions-datetime.html
Description:

Per /docs/current/static/functions-datetime.html (and earlier), epoch is
defined as:

"For date and timestamp values, the number of seconds since 1970-01-01
00:00:00 UTC".

The correct value to obtain 0 is as follows:

SELECT EXTRACT(EPOCH FROM TIMESTAMP WITH TIME ZONE '1970-01-01 8:00:00.0')

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Docbook 5.x
Следующее
От: gp0072000@gmail.com
Дата:
Сообщение: Typo