pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Rename base64 routines to avoid conflict with Solaris built-in f
6+ messages / 1 participants
[nested] [flat]

* pgsql: Rename base64 routines to avoid conflict with Solaris built-in f
@ 2018-02-28 23:34 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-02-28 23:34 UTC (permalink / raw)
  To: 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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Rename base64 routines to avoid conflict with Solaris built-in f
@ 2018-02-28 23:34 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-02-28 23:34 UTC (permalink / raw)
  To: 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
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/aac6286d8fd17f94f3bce5dd8b942b7fcf9e2a61

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Rename base64 routines to avoid conflict with Solaris built-in f
@ 2018-02-28 23:34 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-02-28 23:34 UTC (permalink / raw)
  To: 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_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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Rename base64 routines to avoid conflict with Solaris built-in f
@ 2018-02-28 23:34 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-02-28 23:34 UTC (permalink / raw)
  To: 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_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/679df2b8d8a517388a3456f9826c0ceadc2ac4e1

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Rename base64 routines to avoid conflict with Solaris built-in f
@ 2018-02-28 23:34 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-02-28 23:34 UTC (permalink / raw)
  To: 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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Rename base64 routines to avoid conflict with Solaris built-in f
@ 2018-02-28 23:34 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2018-02-28 23:34 UTC (permalink / raw)
  To: 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_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/10102c91ea13028ac5bb5a362ee42e4af14ca624

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2018-02-28 23:34 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-02-28 23:34 pgsql: Rename base64 routines to avoid conflict with Solaris built-in f Tom Lane <tgl@sss.pgh.pa.us>
2018-02-28 23:34 pgsql: Rename base64 routines to avoid conflict with Solaris built-in f Tom Lane <tgl@sss.pgh.pa.us>
2018-02-28 23:34 pgsql: Rename base64 routines to avoid conflict with Solaris built-in f Tom Lane <tgl@sss.pgh.pa.us>
2018-02-28 23:34 pgsql: Rename base64 routines to avoid conflict with Solaris built-in f Tom Lane <tgl@sss.pgh.pa.us>
2018-02-28 23:34 pgsql: Rename base64 routines to avoid conflict with Solaris built-in f Tom Lane <tgl@sss.pgh.pa.us>
2018-02-28 23:34 pgsql: Rename base64 routines to avoid conflict with Solaris built-in f Tom Lane <tgl@sss.pgh.pa.us>

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