Re: Creating Index - Mailing list pgsql-sql

From Tom Lane
Subject Re: Creating Index
Date
Msg-id 11961.1065064687@sss.pgh.pa.us
Whole thread Raw
In response to Re: Creating Index  ("CN" <cnliou9@fastmail.fm>)
Responses Re: Creating Index  ("CN" <cnliou9@fastmail.fm>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: help with rule and notification
Next
From: Stephan Szabo
Date:
Subject: Re: Creating Index