Tom,
> we preferentially consider unknown_literal to be of the same type
> as the other operand.
I can't really think of what other assumption we would make. Any time a
user doesn't specify a type, they're taking pot luck.
Me, I always use some_timestamp + INTERVAL 'value' ....
--
Josh Berkus
PostgreSQL Experts Inc.
www.pgexperts.com