Re: interval * numeric operator

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: "Josh Berkus" <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: interval * numeric operator
Date: 2007-11-08 14:22:10
Message-ID: 200711081522.10681.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Am Donnerstag, 8. November 2007 schrieb Gregory Stark:
> Shouldn't the cast be implicit anyways? What does having double precision
> operators buy us? Wouldn't it introduce ambiguities?

Unless you use --enable-integer-datetimes, interval is stored as float
internally, so historically, the selection of offered operators is correct.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-11-08 14:58:49 Re: A small rant about coding style for backend functions
Previous Message Gevik Babakhani 2007-11-08 13:54:13 Re: Feature Request: inline comments