diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-12-14 19:42:05 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-12-14 19:42:05 -0500 |
commit | 3b9d2deb67a0d5ee681561fc0e07c2dca4e26e96 (patch) | |
tree | 071bf2c50f40fecd2a15e84a402b7a7749564d9a /src/include/utils/builtins.h | |
parent | 90161dad4dd719f44255474f4471af916f2a28f0 (diff) |
Convert a few more datatype input functions to report errors softly.
Convert the remaining string-category input functions
(bpcharin, varcharin, byteain) to the new style.
Discussion: https://postgr.es/m/3038346.1671060258@sss.pgh.pa.us
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r-- | src/include/utils/builtins.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 10d13b0f1e9..15373ba68f7 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -34,6 +34,8 @@ extern int errdomainconstraint(Oid datatypeOid, const char *conname); /* encode.c */ extern uint64 hex_encode(const char *src, size_t len, char *dst); extern uint64 hex_decode(const char *src, size_t len, char *dst); +extern uint64 hex_decode_safe(const char *src, size_t len, char *dst, + Node *escontext); /* int.c */ extern int2vector *buildint2vector(const int16 *int2s, int n); |