Re: TIMESTAMP comparison problem

Поиск
Список
Период
Сортировка
От Stuart Brooks
Тема Re: TIMESTAMP comparison problem
Дата
Msg-id 4795E6FD.4080107@cat.co.za
обсуждение исходный текст
Ответ на Re: TIMESTAMP comparison problem  (Michael Glaesemann <grzm@seespotcode.net>)
Список pgsql-sql
>> If I reduce the precision to 3 for the timestamps it appears to work 
>> although it makes me nervous.
>
> With float timestamps, you're fooling yourself if you think those 
> numbers past the decimal are reliable.
>
>> Should I just recompile to use integer datetimes? I would like to 
>> have at least microsecond precision.
>
> Well, you can't get better than microsecond precision with timestamps 
> in Postgres. And the only way you can rely on that level of precision 
> is to compile with --enable-integer-datetimes.
>
> Michael Glaesemann 
I thought that might be the case, thanks for the help,

Stuart


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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: TIMESTAMP comparison problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: TIMESTAMP comparison problem