pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Rename base64 routines to avoid conflict with Solaris built-in f
Date: Wed, 28 Feb 2018 23:34:03 +0000
Message-ID: <E1erBEZ-00050V-UN@gemulon.postgresql.org> (raw)

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_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/11e7700e584e818b40013ef8e6bb17d04d8210f8

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



view thread (6+ messages)  latest in thread

Message-ID: <E1erBEZ-00050V-UN@gemulon.postgresql.org>
Permalink:  ../E1erBEZ-00050V-UN@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1erBEZ-00050V-UN@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Rename base64 routines to avoid conflict with Solaris built-in f
  In-Reply-To: <E1erBEZ-00050V-UN@gemulon.postgresql.org>
  References: <E1erBEZ-00050V-UN@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox