Re: Date precision problem

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: Date precision problem
Дата
Msg-id 3CBE2E80.1127C4DA@fourpalms.org
обсуждение исходный текст
Ответ на Date precision problem  (noy <noyda@isoco.com>)
Список pgsql-general
...
> This is all the sequence to obtain the error. ACCESS includes in the where
> clause "last_update" = '2002-04-17 16:40:44.548' and postgres has '2002-04-17
> 16:40:44.548177+02'  These two dates are different and the row is not updated
> because there is not matching row.

So how did Access decide that it had a three digit fractional seconds
field? afaik neither PostgreSQL nor its ODBC driver are truncating the
time.

If you need to constrain times to have a limited precision, you might
try defining things as (in this case) "timestamp(3)" rather than just
"timestamp". And perhaps others have some experience in tweaking Access
to give you, uh, access to the data you have.

                     - Thomas

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

Предыдущее
От: pgsql-gen Newsgroup (@Basebeans.com)
Дата:
Сообщение: Re: Poor performance with "large" table.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Performance Tuning Document?