move hex_decode() to /common so it can be called from frontend
Bruce Momjian <bruce@momjian.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/encode.c | modified | +1 −63 |
| src/backend/utils/adt/varlena.c | modified | +1 −0 |
| src/common/hex_decode.c | added | +106 −0 |
| src/common/Makefile | modified | +1 −0 |
| src/include/common/hex_decode.h | added | +16 −0 |
| src/include/utils/builtins.h | modified | +0 −1 |
| src/interfaces/ecpg/ecpglib/data.c | modified | +1 −51 |
| src/tools/msvc/Mkvcbuild.pm | modified | +1 −1 |