Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f75N0V615183 for ; Sun, 5 Aug 2001 19:00:31 -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 97110; Sun, 05 Aug 2001 16:00:27 -0700 From: "Josh Berkus" Subject: Re: Data type confusion To: Tom Lane Cc: pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.1 Date: Sun, 05 Aug 2001 16:00:27 -0700 Message-ID: In-Reply-To: <7080.997051520@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_===97110====davinci.ethosmedia.com===_" X-Archive-Number: 200108/53 X-Sequence-Number: 4274 This is a multi-part MIME message --_===97110====davinci.ethosmedia.com===_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Tom, > > then why does > > INTERVAL / INTERVAL = ERROR? > > Because no one got around to creating an INTERVAL / INTERVAL > operator. > There are plenty of such gaps in our operator set... Bummer. If I could "C" then maybe I'd do something about it. > > > Shouldn't > > INTERVAL / INTERVAL = INTEGER? > > I'd think the output should be FLOAT8, myself, since the result > could be fractional. > > Anyway, the generic response to such questions is "feel free to > code it up and submit a patch". Sorry. :( I'm stricly a "high-level user". I can, however, document it so that others won't pester you for questions about why it doesn't work. -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 --_===97110====davinci.ethosmedia.com===_ Content-Type: text/plain Content-Disposition: attachment; filename="" Content-Transfer-Encoding: base64 DQo= --_===97110====davinci.ethosmedia.com===_ Content-Type: text/plain Content-Disposition: attachment; filename="" Content-Transfer-Encoding: base64 DQo= --_===97110====davinci.ethosmedia.com===_ Content-Type: text/plain Content-Disposition: attachment; filename="" Content-Transfer-Encoding: base64 DQo= --_===97110====davinci.ethosmedia.com===_--