On Mon, Aug 24, 2009 at 02:05:38PM -0400, Tom Lane wrote:
> David Fetter <[email protected]> writes:
> > On Mon, Aug 24, 2009 at 01:18:46PM -0400, Tom Lane wrote:
> >> Just out of curiosity, what were you *expecting* this to do?
>
> > The gentleman in IRC was the one who was using the construct.
>
> Well, what did he think it would do? If it's a date it's invalid,
> and if it's not a date I'm not sure what he expected...
I apologize for being obtuse.
He expected '-' to subtract seconds, just as '+' added them.
Cheers,
David.
--
David Fetter <[email protected]> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: [email protected]
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate