From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: move hex_decode() to /common so it can be called from frontend |
Date: | 2020-12-24 22:26:00 |
Message-ID: | E1ksZ3Y-0006le-FE@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2020-12-24 23:14:49 | Re: pgsql: move hex_decode() to /common so it can be called from frontend |
Previous Message | Tom Lane | 2020-12-24 22:01:16 | pgsql: Fix race condition between shutdown and unstarted background wor |