diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-06-02 18:59:25 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-06-02 18:59:25 +0000 |
commit | cb36e74ee6bf9df1f273255319c0aaf695c4e83d (patch) | |
tree | 349e461fbc261fb72848f406b8f69b15c30365a0 /src/backend/commands/variable.c | |
parent | 1c5e7168822ad809cebeb759f40ca155deb45ce0 (diff) | |
download | postgresql-cb36e74ee6bf9df1f273255319c0aaf695c4e83d.tar.gz postgresql-cb36e74ee6bf9df1f273255319c0aaf695c4e83d.zip |
In src/include/mb/pg_wchar.h we have:
#define PG_ENCODING_BE_LAST PG_ISO_8859_8
#define PG_ENCODING_FE_LAST PG_WIN1256
but the last client encoding in the enum list is actually PG_GB18030 and
it 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_GB18030
On the other hand, perhaps no-one cares, because
PG_ENCODING_IS_CLIEN_ONLY is never used.
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions