summaryrefslogtreecommitdiff
path: root/multibyte.h
diff options
context:
space:
mode:
authorHiroshi Inoue2017-03-22 04:37:09 +0000
committerHiroshi Inoue2017-03-22 04:45:43 +0000
commitea88b98280148ce17cd21e0546bfa9bcbc88b66f (patch)
treed30defc96343fe97710ed42b8d6a805ad450744f /multibyte.h
parenta4c964282ddae4747c9973481715fe07517e7976 (diff)
Revise the handling of client encoding so as not to forget the update of related items(ccsc or mb_maxbyte_per_char).
Diffstat (limited to 'multibyte.h')
-rw-r--r--multibyte.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/multibyte.h b/multibyte.h
index ea98e87..f213181 100644
--- a/multibyte.h
+++ b/multibyte.h
@@ -74,4 +74,5 @@ extern ssize_t encoded_position_shift(encoded_str *encstr, size_t shift);
extern int encoded_byte_check(encoded_str *encstr, size_t abspos);
/* #define check_client_encoding(X) pg_CS_name(pg_CS_code(X)) */
char *check_client_encoding(const pgNAME sql_string);
+int pg_mb_maxlen(int characterset_code);
#endif /* __MULTIBUYTE_H__ */