diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2002-08-29 07:22:30 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2002-08-29 07:22:30 +0000 |
commit | ed7baeaf4df676489106ab761936cdae9ffb7228 (patch) | |
tree | 91908d828af2d2c6e4bd96374d932cec73aaf01d /src/backend/commands/dbcommands.c | |
parent | 8e80dbb849cc63f6652a5fc645fa4d1e136c3c4c (diff) | |
download | postgresql-ed7baeaf4df676489106ab761936cdae9ffb7228.tar.gz postgresql-ed7baeaf4df676489106ab761936cdae9ffb7228.zip |
Remove #ifdef MULTIBYTE per hackers list discussion.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
-rw-r--r-- | src/backend/commands/dbcommands.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/backend/commands/dbcommands.c b/src/backend/commands/dbcommands.c index 53c8391c0c5..c511199a8b4 100644 --- a/src/backend/commands/dbcommands.c +++ b/src/backend/commands/dbcommands.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.99 2002/08/09 16:45:14 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.100 2002/08/29 07:22:21 ishii Exp $ * *------------------------------------------------------------------------- */ @@ -39,9 +39,7 @@ #include "utils/lsyscache.h" #include "utils/syscache.h" -#ifdef MULTIBYTE #include "mb/pg_wchar.h" /* encoding check */ -#endif /* non-export function prototypes */ @@ -214,13 +212,9 @@ createdb(const CreatedbStmt *stmt) if (encoding < 0) encoding = src_encoding; -#ifdef MULTIBYTE /* Some encodings are client only */ if (!PG_VALID_BE_ENCODING(encoding)) elog(ERROR, "CREATE DATABASE: invalid backend encoding"); -#else - Assert(encoding == 0); /* zero is PG_SQL_ASCII */ -#endif /* * Preassign OID for pg_database tuple, so that we can compute db |