missing epoch timestamps literals in examples

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема missing epoch timestamps literals in examples
Дата
Msg-id 159421243860.16544.17954911309198958049@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: missing epoch timestamps literals in examples
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/datatype-datetime.html
Description:

Thank you for lot of examples about date, time an timestamp.
I am missing how to work with unix (date)time(stamps) from epoch, e.g.
1592203289.310 for 2020-06-15T06:41:29.31.
How to directly insert unix ts literal into timezone column?
INSERT INTO table VALUES ('epoch'::timestamptz + 1592203289.310 * '1
second'::interval), (to_timestamp(1395036000) AT TIME ZONE 'UTC');
https://www.postgresonline.com/journal/archives/3-Converting-from-Unix-Timestamp-to-PostgreSQL-Timestamp-or-Date.html
https://stackoverflow.com/questions/34901804/how-work-with-unix-timestamp-on-postgresql

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

Предыдущее
От: murali maheswaram
Дата:
Сообщение: Request for TDE Implementation Doc for Centos
Следующее
От: Tom Lane
Дата:
Сообщение: Re: missing epoch timestamps literals in examples