From: caldodge@fpcc.net
To: pgsql-sql@postgresql.org
Subject: Re: Optimization with dates
Date: 20 Nov 2001 16:28:41 -0800
Message-ID: <ca6275f0.0111201628.6d3bda77@posting.google.com> (raw)
References: <72319017913.20011114005656@thefreecat.org>
cat@thefreecat.org (Jean-Christophe Boggio) wrote in message news:<72319017913.20011114005656@thefreecat.org>...
> I have tried :
> where dategain>=(select now()-30);
> where dategain+30>='now'
> where date(dategain)>=date('now')-30
> and many other, syntactically absurd :-)
>
> Anyone can help me use this index ?
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-sql@postgresql.org
Cc: caldodge@fpcc.net
Subject: Re: Optimization with dates
In-Reply-To: <ca6275f0.0111201628.6d3bda77@posting.google.com>
* 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