aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTatsuo Ishii <ishii@postgresql.org>2000-01-23 08:16:37 +0000
committerTatsuo Ishii <ishii@postgresql.org>2000-01-23 08:16:37 +0000
commit2605ceb7042442b880ae122a7955206afe91fbb3 (patch)
treec1d391c807c40c4dfbfc24f842722291be5da7b8 /src
parentcfe717714c2a2dd96c3223086bda4b329812705c (diff)
downloadpostgresql-2605ceb7042442b880ae122a7955206afe91fbb3.tar.gz
postgresql-2605ceb7042442b880ae122a7955206afe91fbb3.zip
Fix error messages for the lack of multi-byte support.
Since --with-mb has been removed from configure, previous messages were not appropriate.
Diffstat (limited to 'src')
-rw-r--r--src/backend/parser/gram.y7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y
index 3a673bc74bf..022c3649cb7 100644
--- a/src/backend/parser/gram.y
+++ b/src/backend/parser/gram.y
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.133 2000/01/22 14:20:46 petere Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.134 2000/01/23 08:16:37 ishii Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@@ -50,6 +50,7 @@
#include "utils/numeric.h"
#ifdef MULTIBYTE
+#include "miscadmin.h"
#include "mb/pg_wchar.h"
#endif
@@ -2668,7 +2669,7 @@ createdb_opt_encoding:
elog(ERROR, "%s is not a valid encoding name.", $3);
$$ = i;
#else
- elog(ERROR, "WITH ENCODING is not supported.");
+ elog(ERROR, "Multi-byte support is not enabled");
#endif
}
| ENCODING '=' Iconst
@@ -2678,7 +2679,7 @@ createdb_opt_encoding:
elog(ERROR, "%d is not a valid encoding code.", $3);
$$ = $3;
#else
- elog(ERROR, "WITH ENCODING is not supported.");
+ elog(ERROR, "Multi-byte support is not enabled");
#endif
}
| ENCODING '=' DEFAULT