aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ascii.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils/adt/ascii.c')
-rw-r--r--src/backend/utils/adt/ascii.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/backend/utils/adt/ascii.c b/src/backend/utils/adt/ascii.c
index 2514c84d223..c25cd155f5a 100644
--- a/src/backend/utils/adt/ascii.c
+++ b/src/backend/utils/adt/ascii.c
@@ -1,8 +1,7 @@
-
/* -----------------------------------------------------------------------
* ascii.c
*
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/ascii.c,v 1.4 2000/08/26 21:56:23 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/ascii.c,v 1.5 2000/10/25 19:36:03 tgl Exp $
*
* Portions Copyright (c) 1999-2000, PostgreSQL, Inc
*
@@ -20,7 +19,7 @@
#include "utils/ascii.h"
/* ----------
- * even if MULTIBYTE is not enabled, these functions are necessary
+ * even if MULTIBYTE is not enabled, these functions must exist
* since pg_proc.h has references to them.
* ----------
*/
@@ -29,9 +28,9 @@
static void multibyte_error(void);
static void
-multibyte_error()
+multibyte_error(void)
{
- elog(ERROR, "multibyte not supported.");
+ elog(ERROR, "Multi-byte support is not enabled");
}
Datum
@@ -59,11 +58,6 @@ to_ascii_default(PG_FUNCTION_ARGS)
#else /* with MULTIBYTE */
-/* ----------
- * even if MULTIBYTE is enabled
- * ----------
- */
-
static text *encode_to_ascii(text *data, int enc);
/* ----------