|
1 |
| - |
2 | 1 | /* -----------------------------------------------------------------------
|
3 | 2 | * ascii.c
|
4 | 3 | *
|
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 $ |
6 | 5 | *
|
7 | 6 | * Portions Copyright (c) 1999-2000, PostgreSQL, Inc
|
8 | 7 | *
|
|
20 | 19 | #include"utils/ascii.h"
|
21 | 20 |
|
22 | 21 | /* ----------
|
23 |
| - * even if MULTIBYTE is not enabled, these functionsare necessary |
| 22 | + * even if MULTIBYTE is not enabled, these functionsmust exist |
24 | 23 | * since pg_proc.h has references to them.
|
25 | 24 | * ----------
|
26 | 25 | */
|
|
29 | 28 | staticvoidmultibyte_error(void);
|
30 | 29 |
|
31 | 30 | staticvoid
|
32 |
| -multibyte_error() |
| 31 | +multibyte_error(void) |
33 | 32 | {
|
34 |
| -elog(ERROR,"multibytenotsupported."); |
| 33 | +elog(ERROR,"Multi-byte support isnotenabled"); |
35 | 34 | }
|
36 | 35 |
|
37 | 36 | Datum
|
@@ -59,11 +58,6 @@ to_ascii_default(PG_FUNCTION_ARGS)
|
59 | 58 | #else/* with MULTIBYTE */
|
60 | 59 |
|
61 | 60 |
|
62 |
| -/* ---------- |
63 |
| - * even if MULTIBYTE is enabled |
64 |
| - * ---------- |
65 |
| - */ |
66 |
| - |
67 | 61 | statictext*encode_to_ascii(text*data,intenc);
|
68 | 62 |
|
69 | 63 | /* ----------
|
|