From: | Joe Conway <mail(at)joeconway(dot)com> |
---|---|
To: | Peter Eisentraut <peter(at)eisentraut(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: pgsql: Move scanint8() to numutils.c |
Date: | 2022-02-15 15:39:34 |
Message-ID: | 58cca3e9-53b8-e824-7cd4-6e59b4e242b1@joeconway.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On 2/14/22 16:18, Peter Eisentraut wrote:
> Move scanint8() to numutils.c
>
> Move scanint8() to numutils.c and rename to pg_strtoint64(). We
> already have a "16" and "32" version of that, and the code inside the
> functions was aligned, so this move makes all three versions
> consistent. The API is also changed to no longer provide the errorOK
> case. Users that need the error checking can use strtoi64().
>
> Reviewed-by: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
> Discussion: https://www.postgresql.org/message-id/flat/b239564c-cad0-b23e-c57e-166d883cb97d(at)enterprisedb(dot)com
(moving to hackers)
I guess shame on me for not noticing the thread, but I don't see any
discussion about the potential for breakage to external projects.
scanint8() is exported, and this change breaks at least two extensions I
maintain.
A quick scan (no pun intended ;-)) of github shows other potential
breakage, including at least older (still open source) versions of
pglogical.
Joe
--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-02-15 15:41:44 | Re: pgsql: Remove IS_AF_UNIX macro |
Previous Message | Daniel Gustafsson | 2022-02-15 11:02:24 | pgsql: Ensure that STDERR is empty in connect_ok tests |
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2022-02-15 16:06:58 | Re: Mark all GUC variable as PGDLLIMPORT |
Previous Message | walther | 2022-02-15 15:32:49 | Re: [PATCH] Add reloption for views to enable RLS |