From: Mr OCP <mr_ocp@hotmail.com>
To: pgsql-admin@postgresql.org
Subject: Are there any changes to INTERVAL in 7.2
Date: Mon, 11 Nov 2002 20:35:45 -0500
Message-ID: <F6gEacF1s5IOiV3Xpfb000037a3@hotmail.com> (raw)
Hi
The following query involving INTERVAL works very well in 7.1 but does not
work under 7.2
SELECT order_id FROM order
WHERE order_date + INTERVAL
(term ||'year') < current_timestamp;
Are there any changes to this functionality in 7.2 from 7.1.
Please comment
Thanks
Khat
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mr_ocp@hotmail.com
Subject: Re: Are there any changes to INTERVAL in 7.2
In-Reply-To: <F6gEacF1s5IOiV3Xpfb000037a3@hotmail.com>
References: <F6gEacF1s5IOiV3Xpfb000037a3@hotmail.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