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

Commit28d3ee4

Browse files
committed
Actually, this macro had worse problems than a bogus name ...
1 parent848c30a commit28d3ee4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎src/include/mb/pg_wchar.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.60 2005/08/0514:36:43 tgl Exp $ */
1+
/* $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.61 2005/08/0515:01:48 tgl Exp $ */
22

33
#ifndefPG_WCHAR_H
44
#definePG_WCHAR_H
@@ -191,7 +191,6 @@ typedef enum pg_enc
191191
}pg_enc;
192192

193193
#definePG_ENCODING_BE_LAST PG_WIN1250
194-
#definePG_ENCODING_FE_LAST PG_GB18030
195194

196195
/*
197196
* Please use these tests before access to pg_encconv_tbl[]
@@ -201,7 +200,7 @@ typedef enum pg_enc
201200
((_enc) >= 0 && (_enc) <= PG_ENCODING_BE_LAST)
202201

203202
#definePG_ENCODING_IS_CLIENT_ONLY(_enc) \
204-
(((_enc) > PG_ENCODING_BE_LAST && (_enc) <= PG_ENCODING_FE_LAST)
203+
((_enc) > PG_ENCODING_BE_LAST && (_enc) < _PG_LAST_ENCODING_)
205204

206205
#definePG_VALID_ENCODING(_enc) \
207206
((_enc) >= 0 && (_enc) < _PG_LAST_ENCODING_)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp