Re: date index problems

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: date index problems
Дата
Msg-id 095101c2ef66$a6960f30$6500a8c0@fhp.internal
обсуждение исходный текст
Ответ на date index problems  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
> Surely the planner is aware that '2003-01-01'::date - interval '1 week' is
a
> constant???

Actually, turns out that the planner was smarter than me I think. 2003-01-01
occurs very rarely in the system, but other dates occupy 1/7th of the table,
so it's not so easy to plan...

Chris



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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: date index problems
Следующее
От: Gavin Sherry
Дата:
Сообщение: Re: date index problems