Re: Best way to delete time stamped data? - Mailing list pgsql-sql

From Bruno Wolff III
Subject Re: Best way to delete time stamped data?
Date
Msg-id 20030505133222.GA2981@wolff.to
Whole thread Raw
In response to Re: Best way to delete time stamped data?  (Rajesh Kumar Mallah <mallah@trade-india.com>)
List pgsql-sql
On Mon, May 05, 2003 at 15:26:21 +0530, Rajesh Kumar Mallah <mallah@trade-india.com> wrote:
> 
> 
> an index on age(date(trxdate)) would make it faster ?

That won't work because the value returned by age depends on the time
the transaction started. If you want the delete to be indexed you
need to write it out the longer way.



pgsql-sql by date:

Previous
From: Reiner Dassing
Date:
Subject: Indices are not used by the optimizer
Next
From: "Marco Roda"
Date:
Subject: UNICODE and SQL