From: Bruno Wolff III <bruno@wolff.to>
To: Rajesh Kumar Mallah <mallah@trade-india.com>
Cc: josh@agliodbs.com, Kyle <kyle@ccidomain.com>
Cc: Forum - PostGreSQL SQL <pgsql-sql@postgresql.org>
Subject: Re: Best way to delete time stamped data?
Date: Mon, 5 May 2003 08:32:22 -0500
Message-ID: <20030505133222.GA2981@wolff.to> (raw)
In-Reply-To: <200305051526.21885.mallah@trade-india.com>
References: <3EB2EBF0.8010003@ccidomain.com>
<200305021619.41879.josh@agliodbs.com>
<200305051526.21885.mallah@trade-india.com>
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.
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: bruno@wolff.to, mallah@trade-india.com, kyle@ccidomain.com
Subject: Re: Best way to delete time stamped data?
In-Reply-To: <20030505133222.GA2981@wolff.to>
* 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