Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f75M5n699710 for ; Sun, 5 Aug 2001 18:05:49 -0400 (EDT) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.4.1) with HTTP id 97089 for ; Sun, 05 Aug 2001 15:05:46 -0700 From: "Josh Berkus" Subject: Data type confusion To: pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.1 Date: Sun, 05 Aug 2001 15:05:46 -0700 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_===97089====davinci.ethosmedia.com===_" X-Archive-Number: 200108/49 X-Sequence-Number: 4270 This is a multi-part MIME message --_===97089====davinci.ethosmedia.com===_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Tom, Stephan, I'm writing up the date/time FAQ, and I came across some operator behavior that confuses me: If INTERVAL / INTEGER = INTERVAL then why does INTERVAL / INTERVAL = ERROR? Shouldn't INTERVAL / INTERVAL = INTEGER? I'd like to answer this before I finish the FAQ, as it seems inconsistent behavior. -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 --_===97089====davinci.ethosmedia.com===_ Content-Type: text/plain Content-Disposition: attachment; filename="" Content-Transfer-Encoding: base64 DQo= --_===97089====davinci.ethosmedia.com===_ Content-Type: text/plain Content-Disposition: attachment; filename="" Content-Transfer-Encoding: base64 DQo= --_===97089====davinci.ethosmedia.com===_ Content-Type: text/plain Content-Disposition: attachment; filename="" Content-Transfer-Encoding: base64 DQo= --_===97089====davinci.ethosmedia.com===_--