diff options
Diffstat (limited to 'src/backend/utils/mb/common.c')
-rw-r--r-- | src/backend/utils/mb/common.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/utils/mb/common.c b/src/backend/utils/mb/common.c index 89f63ad2ec0..33773e20505 100644 --- a/src/backend/utils/mb/common.c +++ b/src/backend/utils/mb/common.c @@ -2,7 +2,7 @@ * This file contains some public functions * usable for both the backend and the frontend. * Tatsuo Ishii - * $Id: common.c,v 1.9 2000/06/13 07:35:15 tgl Exp $ */ + * $Id: common.c,v 1.10 2000/10/30 10:40:28 ishii Exp $ */ #include <stdlib.h> #include <string.h> @@ -19,6 +19,7 @@ #include "mb/pg_wchar.h" #include "utils/builtins.h" +#ifndef FRONTEND /* * convert encoding char to encoding symbol value. * case is ignored. @@ -97,6 +98,8 @@ PG_encoding_to_char(PG_FUNCTION_ARGS) PG_RETURN_NAME(pg_encoding_to_char(encoding)); } +#endif + /* returns the byte length of a multi-byte word for an encoding */ int pg_encoding_mblen(int encoding, const unsigned char *mbstr) |