pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robin Ericsson <robin.ericsson@profecta.se>
Cc: pgsql-performance@postgresql.org
Subject: Re: query problem
Date: Wed, 13 Oct 2004 11:03:13 -0400
Message-ID: <14684.1097679793@sss.pgh.pa.us> (raw)
In-Reply-To: <1097659271.24018.68.camel@pylver.localhost.nu.>
References: <1097659271.24018.68.camel@pylver.localhost.nu.>

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



view thread (9+ messages)  latest in thread

Message-ID: <14684.1097679793@sss.pgh.pa.us>
Permalink:  ../14684.1097679793@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14684.1097679793@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, robin.ericsson@profecta.se
  Subject: Re: query problem
  In-Reply-To: <14684.1097679793@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox