Clarify: default precision on timestamps is 6

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Clarify: default precision on timestamps is 6
Дата
Msg-id CAKFQuwb5hbSCy_zspr_MqqoE-k6MaGt47j1QBFNY-pn9Px8Zqw@mail.gmail.com
обсуждение исходный текст
Ответ на Clarify: default precision on timestamps is 6  (PG Doc comments form <noreply@postgresql.org>)
Ответы Re: Clarify: default precision on timestamps is 6  (Kirk Parker <khp@equatoria.us>)
Re: Clarify: default precision on timestamps is 6  (Nathan Long <hello@nathanmlong.com>)
Список pgsql-docs
On Friday, October 13, 2023, PG Doc comments form <noreply@postgresql.org> wrote:
both of them round any precision
beyond microseconds, and neither returns timestamps with greater precision
than the value that was inserted.

That is precisely what a no default with maximum of six means.  If we say the default is six that would imply storage of less precise values pads significant zeros until there are six.

David J.
 

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

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: Clarify: default precision on timestamps is 6
Следующее
От: Nathan Long
Дата:
Сообщение: Re: Clarify: default precision on timestamps is 6