pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: move hex_decode() to /common so it can be called from frontend
Date: Thu, 24 Dec 2020 22:26:00 +0000
Message-ID: <E1ksZ3Y-0006le-FE@gemulon.postgresql.org> (raw)

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(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1ksZ3Y-0006le-FE@gemulon.postgresql.org>
Permalink:  ../E1ksZ3Y-0006le-FE@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ksZ3Y-0006le-FE@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: bruce@momjian.us
  Subject: Re: pgsql: move hex_decode() to /common so it can be called from frontend
  In-Reply-To: <E1ksZ3Y-0006le-FE@gemulon.postgresql.org>
  References: <E1ksZ3Y-0006le-FE@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