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

Commit2605ceb

Browse files
committed
Fix error messages for the lack of multi-byte support.
Since --with-mb has been removed from configure, previousmessages were not appropriate.
1 parentcfe7177 commit2605ceb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/backend/parser/gram.y

Lines changed: 4 additions & 3 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.133 2000/01/22 14:20:46 petere Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.134 2000/01/23 08:16:37 ishii Exp $
1414
*
1515
* HISTORY
1616
* AUTHORDATEMAJOR EVENT
@@ -50,6 +50,7 @@
5050
#include"utils/numeric.h"
5151

5252
#ifdef MULTIBYTE
53+
#include"miscadmin.h"
5354
#include"mb/pg_wchar.h"
5455
#endif
5556

@@ -2668,7 +2669,7 @@ createdb_opt_encoding:
26682669
elog(ERROR,"%s is not a valid encoding name.", $3);
26692670
$$ = i;
26702671
#else
2671-
elog(ERROR,"WITH ENCODING is notsupported.");
2672+
elog(ERROR,"Multi-byte support is notenabled");
26722673
#endif
26732674
}
26742675
|ENCODING'='Iconst
@@ -2678,7 +2679,7 @@ createdb_opt_encoding:
26782679
elog(ERROR,"%d is not a valid encoding code.", $3);
26792680
$$ = $3;
26802681
#else
2681-
elog(ERROR,"WITH ENCODING is notsupported.");
2682+
elog(ERROR,"Multi-byte support is notenabled");
26822683
#endif
26832684
}
26842685
|ENCODING'='DEFAULT

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp