Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id 384FC474E44 for ; Mon, 25 Feb 2002 23:10:27 -0500 (EST) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.5.2) with HTTP id 810117 for ; Mon, 25 Feb 2002 20:10:29 -0800 From: "Josh Berkus" Subject: Timestamp operator error To: pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.5.2 Date: Mon, 25 Feb 2002 20:10:29 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200202/375 X-Sequence-Number: 6797 Folks, Potentially a real problem bug in 7.2: staffos=# select version(); version ------------------------------------------------------------- PostgreSQL 7.2 on i686-pc-linux-gnu, compiled by GCC 2.95.3 (1 row) staffos=# select ('6 days'::INTERVAL + current_timestamp); ?column? --------------------- 2002-02-25 00:00:00 (1 row) staffos=# select (current_timestamp + '6 days'::INTERVAL); ?column? ------------------------------- 2002-03-03 20:07:52.105254-08 (1 row) -Josh ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small businesses fax 621-2533 and non-profit organizations. San Francisco