move hex_decode() to /common so it can be called from frontend
authorBruce Momjian <bruce@momjian.us>
Thu, 24 Dec 2020 22:25:48 +0000 (17:25 -0500)
committerBruce Momjian <bruce@momjian.us>
Thu, 24 Dec 2020 22:25:48 +0000 (17:25 -0500)
commitc3826f831e6e63e13a749fd3ab9fd7106707b549
treea060a73607136f8bd58000ffc0b14410f136f986
parent7519bd16d1a2a2007b3604f6740611c0b75a6cd0
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
src/backend/utils/adt/encode.c
src/backend/utils/adt/varlena.c
src/common/Makefile
src/common/hex_decode.c [new file with mode: 0644]
src/include/common/hex_decode.h [new file with mode: 0644]
src/include/utils/builtins.h
src/interfaces/ecpg/ecpglib/data.c
src/tools/msvc/Mkvcbuild.pm