Re: Strange interval arithmetic
- From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
- To: Michael Fuhr <mike(at)fuhr(dot)org>
- Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
- Subject: Re: Strange interval arithmetic
- Date: Wed, 30 Nov 2005 17:23:23 -0500
- Message-id: <1678(dot)1133389403(at)sss(dot)pgh(dot)pa(dot)us>
Michael Fuhr <mike(at)fuhr(dot)org> writes:
> I usually check both in my own code but I noticed several places
> where PostgreSQL doesn't, so I kept that style. I'll check both
> if that's preferred.
I'd say not --- it's more code and it makes a possibly unwarranted
assumption about strtol's behavior.
regards, tom lane
Home |
Main Index |
Thread Index