Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0b44238

Browse files
committed
Fix encoding grammer problem.
1 parentd9be0ff commit0b44238

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/parser/gram.y

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.19 1998/07/26 04:30:31 scrappy Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.20 1998/08/04 17:37:48 momjian Exp $
1414
*
1515
* HISTORY
1616
* AUTHORDATEMAJOR EVENT
@@ -2094,7 +2094,8 @@ CreatedbStmt: CREATE DATABASE database_name WITH opt_database1 opt_database2
20942094
n->encoding = GetTemplateEncoding();
20952095
}
20962096
#else
2097-
elog(ERROR, "WITH ENCODING is not supported");
2097+
if ($6 != NULL)
2098+
elog(ERROR, "WITH ENCODING is not supported");
20982099
#endif
20992100
$$ = (Node *)n;
21002101
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp