pgsql: move hex_decode() to /common so it can be called from frontend - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: move hex_decode() to /common so it can be called from frontend
Date
Msg-id E1ksZ3Y-0006le-FE@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: move hex_decode() to /common so it can be called from frontend  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
move hex_decode() to /common so it can be called from frontend

This allows removal of a copy of hex_decode() from ecpg, and will be
used by the soon-to-be added pg_alterckey command.

Backpatch-through: master

Branch
------
master

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

Modified Files
--------------
src/backend/utils/adt/encode.c     |  64 +---------------------
src/backend/utils/adt/varlena.c    |   1 +
src/common/Makefile                |   1 +
src/common/hex_decode.c            | 106 +++++++++++++++++++++++++++++++++++++
src/include/common/hex_decode.h    |  16 ++++++
src/include/utils/builtins.h       |   1 -
src/interfaces/ecpg/ecpglib/data.c |  52 +-----------------
src/tools/msvc/Mkvcbuild.pm        |   2 +-
8 files changed, 127 insertions(+), 116 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix race condition between shutdown and unstarted background wor
Next
From: Tom Lane
Date:
Subject: Re: pgsql: move hex_decode() to /common so it can be called from frontend