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

Commitcb36e74

Browse files
committed
In src/include/mb/pg_wchar.h we have:
#define PG_ENCODING_BE_LAST PG_ISO_8859_8#define PG_ENCODING_FE_LAST PG_WIN1256but the last client encoding in the enum list is actually PG_GB18030 andit seems that#define PG_ENCODING_IS_CLIEN_ONLY(_enc) \ (((_enc) > PG_ENCODING_BE_LAST && (_enc) <= PG_ENCODING_FE_LAST)can never be true.I think the define should read#define PG_ENCODING_FE_LAST PG_GB18030On the other hand, perhaps no-one cares, becausePG_ENCODING_IS_CLIEN_ONLY is never used.--Oliver Elphick Oliver.Elphick@lfix.co.uk
1 parent1c5e716 commitcb36e74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/mb/pg_wchar.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Id: pg_wchar.h,v 1.45 2003/02/19 14:31:26 ishii Exp $ */
1+
/* $Id: pg_wchar.h,v 1.46 2003/06/02 18:59:25 momjian Exp $ */
22

33
#ifndefPG_WCHAR_H
44
#definePG_WCHAR_H
@@ -190,7 +190,7 @@ typedef enum pg_enc
190190
}pg_enc;
191191

192192
#definePG_ENCODING_BE_LAST PG_ISO_8859_8
193-
#definePG_ENCODING_FE_LASTPG_WIN1256
193+
#definePG_ENCODING_FE_LASTPG_GB18030
194194

195195
/*
196196
* Please use these tests before access to pg_encconv_tbl[]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp