"Josh Berkus" <[EMAIL PROTECTED]> writes:
> If
> INTERVAL / INTEGER = INTERVAL
Actually the operator appears to be INTERVAL / FLOAT8.
> 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...
> 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".
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]