From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Rename base64 routines to avoid conflict with Solaris built-in f |
Date: | 2018-02-28 23:34:03 |
Message-ID: | E1erBEZ-00050Z-VC@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
------
REL9_4_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/d07f79a9cc7bf119bca2eacc7f90f1aab0fc9972
Modified Files
--------------
contrib/pgcrypto/pgp-armor.c | 18 +++++++++---------
src/backend/utils/adt/encode.c | 10 +++++-----
2 files changed, 14 insertions(+), 14 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2018-02-28 23:55:03 | pgsql: Doc: remove duplicate poly_ops row from SP-GiST opclass table. |
Previous Message | Tom Lane | 2018-02-28 21:57:53 | pgsql: Remove restriction on SQL block length in isolationtester scanne |