summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/varlena.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2020-12-24 17:25:48 -0500
committerBruce Momjian <bruce@momjian.us>2020-12-24 17:25:48 -0500
commitc3826f831e6e63e13a749fd3ab9fd7106707b549 (patch)
treea060a73607136f8bd58000ffc0b14410f136f986 /src/backend/utils/adt/varlena.c
parent7519bd16d1a2a2007b3604f6740611c0b75a6cd0 (diff)
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
Diffstat (limited to 'src/backend/utils/adt/varlena.c')
-rw-r--r--src/backend/utils/adt/varlena.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/utils/adt/varlena.c b/src/backend/utils/adt/varlena.c
index ff9bf238f34..9300d19e0c0 100644
--- a/src/backend/utils/adt/varlena.c
+++ b/src/backend/utils/adt/varlena.c
@@ -22,6 +22,7 @@
#include "catalog/pg_type.h"
#include "common/hashfn.h"
#include "common/int.h"
+#include "common/hex_decode.h"
#include "common/unicode_norm.h"
#include "lib/hyperloglog.h"
#include "libpq/pqformat.h"