Timestamp accuracy

Поиск
Список
Период
Сортировка
От Florian Steffen
Тема Timestamp accuracy
Дата
Msg-id 20010203162141.A3886@samaris.urbanet.ch
обсуждение исходный текст
Список pgsql-sql
Hi,

The user manual said the Timestamp type has a microsecond accuracy, but how can
I display the results of a query with microseconds ? 
Without formatting the output has an accuracy of 10^-2 second, and with
formatting it is even worse since the formatting strings do not accept anything
under the second.

SQL example:
    > create table test_ts (ts timestamp);    > insert into test_ts values ('2001-2-2 00:00:00.123456789');    > select
*from test_ts;
 
          ts                ---------------------------   2001-02-02 00:00:00.12+01

Florian



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: const cast ?
Следующее
От: "Albert REINER"
Дата:
Сообщение: Re: Suggestion for psql: --file -