Re: query problem - Mailing list pgsql-performance

From Tom Lane
Subject Re: query problem
Date
Msg-id 14684.1097679793@sss.pgh.pa.us
Whole thread Raw
In response to query problem  (Robin Ericsson <robin.ericsson@profecta.se>)
Responses Re: query problem
List pgsql-performance
Robin Ericsson <robin.ericsson@profecta.se> writes:
> I sent this to general earlier but I was redirected to performance.

Actually, I think I suggested that you consult the pgsql-performance
archives, where this type of problem has been hashed out before.
See for instance this thread:
http://archives.postgresql.org/pgsql-performance/2004-07/msg00169.php
particularly
http://archives.postgresql.org/pgsql-performance/2004-07/msg00175.php
http://archives.postgresql.org/pgsql-performance/2004-07/msg00184.php
http://archives.postgresql.org/pgsql-performance/2004-07/msg00185.php
which show three different ways of getting the planner to do something
sane with an index range bound like "now() - interval".

            regards, tom lane

pgsql-performance by date:

Previous
From: ken
Date:
Subject: Re: query problem
Next
From: Robin Ericsson
Date:
Subject: Re: query problem