| От | Tom Lane |
|---|---|
| Тема | Re: date out of range for timestamp |
| Дата | |
| Msg-id | 23542.1293590748@sss.pgh.pa.us обсуждение |
| Ответ на | date out of range for timestamp (David Rericha <d.rericha@healthcareoss.com>) |
| Ответы |
Re: date out of range for timestamp
|
| Список | pgsql-admin |
[ please keep the list cc'd ]
David Rericha <d.rericha@healthcareoss.com> writes:
> I am truly typing the date as a literal. It turned out that I did have
> a date of year 2010000, which would have been out of range, but I
> changed it. But I still get the error.
Hmm. Try re-running ANALYZE on the table. I'm thinking that maybe
(a) the way-out-of-line date is still in the statistical histogram, and
(b) the planner is using date-to-timestamp coercion while trying to
estimate the selectivity of the <= condition.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера