From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | PG Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Bug in date arithmetic |
Date: | 2009-08-24 18:20:11 |
Message-ID: | 20090824182011.GH5896@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Aug 24, 2009 at 02:05:38PM -0400, Tom Lane wrote:
> David Fetter <david(at)fetter(dot)org> 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 <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-08-24 18:22:48 | Re: hba load error and silent mode |
Previous Message | Tom Lane | 2009-08-24 18:18:59 | Re: 8.5 release timetable, again |