Re: Creating Index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Creating Index
Дата
Msg-id 11961.1065064687@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Creating Index  ("CN" <cnliou9@fastmail.fm>)
Ответы Re: Creating Index  ("CN" <cnliou9@fastmail.fm>)
Список pgsql-sql
"CN" <cnliou9@fastmail.fm> writes:
> Is creating a function that eats DATE as argument to build that index my
> only solution?

You haven't really explained what your problem is.  In general I'd not
guess that "year >= X and month >= Y" is a useful operation if Y is
different from 1.  You'd be selecting a very discontinuous set of
dates ...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: help with rule and notification
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Creating Index