Re: [HACKERS] Strange interval arithmetic - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [HACKERS] Strange interval arithmetic
Date
Msg-id 200512012050.jB1Ko6W25012@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Strange interval arithmetic  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Here is the patch I was working on.  It does us a separate libpq
> > strtol() function, but I question whether it is worth it, or if it is
> > meaningful when used by FRONTEND applications.  Anyway, I am just
> > throwing it out if it gives others ideas.
>
> I did look through all the other calls to strtol/strtoul, and concluded
> that the ones in datetime.c were the only undefended ones that really
> needed a check.

Yea, I think I agree.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Strange interval arithmetic
Next
From: Bruce Momjian
Date:
Subject: Re: Case Conversion Fix for MB Chars