pgsql: Fix previous commit's ecpg_clocale for ppc Darwin.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix previous commit's ecpg_clocale for ppc Darwin.
Date: 2022-07-03 04:03:52
Message-ID: E1o7qpq-000wA2-OV@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix previous commit's ecpg_clocale for ppc Darwin.

Per buildfarm member prairiedog, this platform rejects uninitialized
global variables in shared libraries. Back-patch to v10, like the
addition of the variable.

Reviewed by Tom Lane.

Discussion: https://postgr.es/m/20220703030619.GB2378460@rfd.leadboat.com

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/463a841d7407dbc96cc1c39ca99ebe9c8bdd3244

Modified Files
--------------
src/interfaces/ecpg/ecpglib/connect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-07-03 07:12:21 pgsql: Remove redundant null pointer checks before pg_free()
Previous Message Noah Misch 2022-07-02 20:02:13 pgsql: ecpglib: call newlocale() once per process.