Re: libpq stricter integer parsing

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: libpq stricter integer parsing
Date: 2018-09-07 21:22:14
Message-ID: alpine.DEB.2.21.1809072305450.10506@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hello Michael,

>> Hmmm. It does apply on a test I just did right know...
> That's weird, it does not apply for me either with patch -p1 and there
> is on conflict in fe-connect.c, which looks easy enough to fix by the
> way.

Weird indeed. However, even if the patch applied cleanly for me, it was
not compiling anymore. Attached an updated version, in which I also tried
to improve the error message on trailing garbage.


Attachment Content-Type Size
libpq-strict-atoi-2.patch text/x-diff 4.0 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2018-09-07 21:34:30 Re: Collation versioning
Previous Message Tom Lane 2018-09-07 21:13:11 Re: pgsql: Refactor dlopen() support