From: Tom Lane <tgl@sss.pgh.pa.us>
To: Josh Berkus <josh@agliodbs.com>
Cc: Allan Engelhardt <allane@cybaea.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Re: Data type confusion
Date: Mon, 06 Aug 2001 17:50:20 -0400
Message-ID: <24762.997134620@sss.pgh.pa.us> (raw)
In-Reply-To: <web-97584@davinci.ethosmedia.com>
References: <web-97584@davinci.ethosmedia.com>
"Josh Berkus" <josh@agliodbs.com> writes:
> I don't want to go through a bunch of non-ANSI SQL-compliant conversion
> functions to do it. Especially not as this is just what the ANSI SQL
> data type and operator specs are designed to support.
Curiously enough, ANSI doesn't define an INTERVAL-divided-by-INTERVAL
function either. Also, it rather looks like ANSI adopted the position
Peter E. expressed:
Year-month intervals are mutually comparable only with other year-
month intervals. [...]
Day-time intervals are mutually comparable only with other day-
time intervals. [...]
Operations involving items of type datetime require that the date-
time items be mutually comparable. Operations involving items of
type interval require that the interval items be mutually compara-
ble.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, josh@agliodbs.com, allane@cybaea.com
Subject: Re: Re: Data type confusion
In-Reply-To: <24762.997134620@sss.pgh.pa.us>
* 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