Re: Bug in date arithmetic

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bug in date arithmetic
Date: 2009-08-25 01:29:57
Message-ID: 4A933E95.5050909@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2009-08-25 01:31:20 Re: DELETE syntax on JOINS
Previous Message Jeff Janes 2009-08-25 01:23:08 Bug in visibility hint bit