Commit 0b442388 authored by Bruce Momjian's avatar Bruce Momjian

Fix encoding grammer problem.

parent d9be0ff4
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.19 1998/07/26 04:30:31 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.20 1998/08/04 17:37:48 momjian Exp $
* *
* HISTORY * HISTORY
* AUTHOR DATE MAJOR EVENT * AUTHOR DATE MAJOR EVENT
...@@ -2094,6 +2094,7 @@ CreatedbStmt: CREATE DATABASE database_name WITH opt_database1 opt_database2 ...@@ -2094,6 +2094,7 @@ CreatedbStmt: CREATE DATABASE database_name WITH opt_database1 opt_database2
n->encoding = GetTemplateEncoding(); n->encoding = GetTemplateEncoding();
} }
#else #else
if ($6 != NULL)
elog(ERROR, "WITH ENCODING is not supported"); elog(ERROR, "WITH ENCODING is not supported");
#endif #endif
$$ = (Node *)n; $$ = (Node *)n;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment