Skip to content
Snippets Groups Projects
Commit 995ccad6 authored by Tom Lane's avatar Tom Lane
Browse files

Minor cleanup.

parent b111331d
No related branches found
No related tags found
No related merge requests found
/* ----------------------------------------------------------------------- /* -----------------------------------------------------------------------
* ascii.c * 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 * Portions Copyright (c) 1999-2000, PostgreSQL, Inc
* *
...@@ -20,7 +19,7 @@ ...@@ -20,7 +19,7 @@
#include "utils/ascii.h" #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. * since pg_proc.h has references to them.
* ---------- * ----------
*/ */
...@@ -29,9 +28,9 @@ ...@@ -29,9 +28,9 @@
static void multibyte_error(void); static void multibyte_error(void);
static void static void
multibyte_error() multibyte_error(void)
{ {
elog(ERROR, "multibyte not supported."); elog(ERROR, "Multi-byte support is not enabled");
} }
Datum Datum
...@@ -59,11 +58,6 @@ to_ascii_default(PG_FUNCTION_ARGS) ...@@ -59,11 +58,6 @@ to_ascii_default(PG_FUNCTION_ARGS)
#else /* with MULTIBYTE */ #else /* with MULTIBYTE */
/* ----------
* even if MULTIBYTE is enabled
* ----------
*/
static text *encode_to_ascii(text *data, int enc); static text *encode_to_ascii(text *data, int enc);
/* ---------- /* ----------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment