pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: bharath.rupireddyforpostgres@gmail.com
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Incorrect usage of strtol, atoi for non-numeric junk inputs
Date: Fri, 23 Jul 2021 06:09:54 +0900
Message-ID: <YPneopcdA5YoKkmg@paquier.xyz> (raw)
In-Reply-To: <202107221342.xyrtycgw44j4@alvherre.pgsql>
References: <YPgJ2Xo45hx8f4Id@paquier.xyz>
	<202107221342.xyrtycgw44j4@alvherre.pgsql>

On Thu, Jul 22, 2021 at 09:42:00AM -0400, Alvaro Herrera wrote:
> May I suggest for the second sentence something like "If the parsing is
> successful, returns true and stores the result in *result if that's
> given; if parsing fails, returns false"

Sounds fine to me.  Thanks.
--
Michael

Attachments:

  [application/pgp-signature] signature.asc (832B, ../YPneopcdA5YoKkmg@paquier.xyz/2-signature.asc)
  download

view thread (26+ messages)  latest in thread

Message-ID: <YPneopcdA5YoKkmg@paquier.xyz>
Permalink:  ../YPneopcdA5YoKkmg@paquier.xyz/
Also on:    postgresql.org/message-id/YPneopcdA5YoKkmg@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: michael@paquier.xyz, alvherre@alvh.no-ip.org, horikyota.ntt@gmail.com, bharath.rupireddyforpostgres@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Incorrect usage of strtol, atoi for non-numeric junk inputs
  In-Reply-To: <YPneopcdA5YoKkmg@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox