Re: Grouping by date range

From: Jeffrey Melloy <jmelloy(at)visualdistortion(dot)org>
To: Alexander Litvinov <lan(at)ac-sw(dot)com>
Cc: Mat <psql-mail(at)freeuk(dot)com>, pgsql general list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Grouping by date range
Date: 2003-08-19 17:07:57
Message-ID: 3F42596D.3030503@visualdistortion.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alexander Litvinov wrote:

>if you need to handle large number of rows try to add columns with year and
>month, write triggers for filling this columns, make indexes and things
>should be fast.
>
>
Is this the only way to do it? I was running into this problem, too.
It would be nice if the function indexes could handle things like
'date_part('month', <columname>)

Jeff

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message btober 2003-08-19 17:10:05 Re: Simulating sequences
Previous Message Ron Johnson 2003-08-19 17:05:00 Re: 3 way outer join dilemma