From: | "Josh Berkus" <josh(at)agliodbs(dot)com> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Data type confusion |
Date: | 2001-08-05 22:05:46 |
Message-ID: | web-97089@davinci.ethosmedia.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 2 bytes |
unknown_filename | text/plain | 2 bytes |
unknown_filename | text/plain | 2 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2001-08-05 22:12:12 | Re: Re: Date Time Functions - ANSI SQL ? |
Previous Message | Allan Engelhardt | 2001-08-05 21:50:37 | Inheritance is completely broken [was: Re: Creating foreign key constraint to child table?] |