pgsql: Rename base64 routines to avoid conflict with Solaris built-inf - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Rename base64 routines to avoid conflict with Solaris built-inf
Date
Msg-id E1erBEZ-00050R-U5@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Rename base64 routines to avoid conflict with Solaris built-in functions.

Solaris 11.4 has built-in functions named b64_encode and b64_decode.
Rename ours to something else to avoid the conflict (fortunately,
ours are static so the impact is limited).

One could wish for less duplication of code in this area, but that
would be a larger patch and not very suitable for back-patching.
Since this is a portability fix, we want to put it into all supported
branches.

Report and initial patch by Rainer Orth, reviewed and adjusted a bit
by Michael Paquier

Discussion: https://postgr.es/m/ydd372wk28h.fsf@CeBiTec.Uni-Bielefeld.DE

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/43e9490866386ba57c5457c6dbeedb04a51c2086

Modified Files
--------------
contrib/pgcrypto/pgp-armor.c   | 20 ++++++++++----------
src/backend/utils/adt/encode.c | 10 +++++-----
2 files changed, 15 insertions(+), 15 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Remove restriction on SQL block length in isolationtesterscanne
Next
From: Tom Lane
Date:
Subject: pgsql: Doc: remove duplicate poly_ops row from SP-GiST opclass table.