Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A1CD4475E45 for ; Mon, 11 Nov 2002 20:35:42 -0500 (EST) Received: from hotmail.com (f6.pav2.hotmail.com [64.4.37.6]) by postgresql.org (Postfix) with ESMTP id 187F4475A3F for ; Mon, 11 Nov 2002 20:35:42 -0500 (EST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 11 Nov 2002 17:35:45 -0800 Received: from 66.185.85.79 by pv2fd.pav2.hotmail.msn.com with HTTP; Tue, 12 Nov 2002 01:35:45 GMT X-Originating-IP: [66.185.85.79] From: "Mr OCP" To: pgsql-admin@postgresql.org Subject: Are there any changes to INTERVAL in 7.2 Date: Mon, 11 Nov 2002 20:35:45 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 12 Nov 2002 01:35:45.0465 (UTC) FILETIME=[D2142290:01C289EB] X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/116 X-Sequence-Number: 6304 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