diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-08-05 15:01:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-08-05 15:01:48 +0000 |
commit | 28d3ee477176e8e6847736c48e9346c5bcde73d1 (patch) | |
tree | c424feca444b67c598f9bd445c74baad8e80be7c /src | |
parent | 848c30a50199c69995b08e336ed56cc6e877e2b0 (diff) | |
download | postgresql-28d3ee477176e8e6847736c48e9346c5bcde73d1.tar.gz postgresql-28d3ee477176e8e6847736c48e9346c5bcde73d1.zip |
Actually, this macro had worse problems than a bogus name ...
Diffstat (limited to 'src')
-rw-r--r-- | src/include/mb/pg_wchar.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/mb/pg_wchar.h b/src/include/mb/pg_wchar.h index 7a6e0d0f0de..5ecbb519adf 100644 --- a/src/include/mb/pg_wchar.h +++ b/src/include/mb/pg_wchar.h @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.60 2005/08/05 14:36:43 tgl Exp $ */ +/* $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.61 2005/08/05 15:01:48 tgl Exp $ */ #ifndef PG_WCHAR_H #define PG_WCHAR_H @@ -191,7 +191,6 @@ typedef enum pg_enc } pg_enc; #define PG_ENCODING_BE_LAST PG_WIN1250 -#define PG_ENCODING_FE_LAST PG_GB18030 /* * Please use these tests before access to pg_encconv_tbl[] @@ -201,7 +200,7 @@ typedef enum pg_enc ((_enc) >= 0 && (_enc) <= PG_ENCODING_BE_LAST) #define PG_ENCODING_IS_CLIENT_ONLY(_enc) \ - (((_enc) > PG_ENCODING_BE_LAST && (_enc) <= PG_ENCODING_FE_LAST) + ((_enc) > PG_ENCODING_BE_LAST && (_enc) < _PG_LAST_ENCODING_) #define PG_VALID_ENCODING(_enc) \ ((_enc) >= 0 && (_enc) < _PG_LAST_ENCODING_) |