Skip to content

Commit 995ccad

Browse files
committed
Minor cleanup.
1 parent b111331 commit 995ccad

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

src/backend/utils/adt/ascii.c

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
21
/* -----------------------------------------------------------------------
32
* ascii.c
43
*
5-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ascii.c,v 1.4 2000/08/26 21:56:23 tgl Exp $
4+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ascii.c,v 1.5 2000/10/25 19:36:03 tgl Exp $
65
*
76
* Portions Copyright (c) 1999-2000, PostgreSQL, Inc
87
*
@@ -20,7 +19,7 @@
2019
#include "utils/ascii.h"
2120

2221
/* ----------
23-
* even if MULTIBYTE is not enabled, these functions are necessary
22+
* even if MULTIBYTE is not enabled, these functions must exist
2423
* since pg_proc.h has references to them.
2524
* ----------
2625
*/
@@ -29,9 +28,9 @@
2928
static void multibyte_error(void);
3029

3130
static void
32-
multibyte_error()
31+
multibyte_error(void)
3332
{
34-
elog(ERROR, "multibyte not supported.");
33+
elog(ERROR, "Multi-byte support is not enabled");
3534
}
3635

3736
Datum
@@ -59,11 +58,6 @@ to_ascii_default(PG_FUNCTION_ARGS)
5958
#else /* with MULTIBYTE */
6059

6160

62-
/* ----------
63-
* even if MULTIBYTE is enabled
64-
* ----------
65-
*/
66-
6761
static text *encode_to_ascii(text *data, int enc);
6862

6963
/* ----------

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy