Re: Change atoi to strtol in same place

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: joe(at)begriffs(dot)com
Cc: alvherre(at)2ndquadrant(dot)com, robertmhaas(at)gmail(dot)com, michael(at)paquier(dot)xyz, david(dot)rowley(at)2ndquadrant(dot)com, tomas(dot)vondra(at)2ndquadrant(dot)com, surafel3000(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Change atoi to strtol in same place
Date: 2019-10-01 10:46:21
Message-ID: 20191001.194621.122195483.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At Tue, 01 Oct 2019 19:32:08 +0900 (Tokyo Standard Time), Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> wrote in <20191001(dot)193208(dot)264851337(dot)horikyota(dot)ntt(at)gmail(dot)com>
> Hello.
>
> At Sun, 29 Sep 2019 23:51:23 -0500, Joe Nelson <joe(at)begriffs(dot)com> wrote in <20190930045123(dot)GC68117(at)begriffs(dot)com>
> > Alvaro Herrera wrote:
> > > ... can we have a new patch?
> >
> > OK, I've attached v4. It works cleanly on 55282fa20f with
> > str2int-16.patch applied. My patch won't compile without the other one
> > applied too.
> >
> > Changed:
> > [x] revert my changes in common/Makefile
> > [x] rename arg_utils.[ch] to option.[ch]
> > [x] update @pgfeutilsfiles in Mkvcbuild.pm
> > [x] pgindent everything
> > [x] get rid of atoi() in more utilities

I didn't checked closely, but -k of pg_standby's message looks
somewhat strange. Needs a separator?

> pg_standby: -k keepfiles could not parse 'hoge' as integer

Building a sentense just concatenating multiple nonindependent
(or incomplete) subphrases makes translation harder.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Nancarrow 2019-10-01 10:51:21 Re: Libpq support to connect to standby server as priority
Previous Message Kyotaro Horiguchi 2019-10-01 10:32:08 Re: Change atoi to strtol in same place