OSDN Git Service

Modify getdatabaseencoding(), pg_encoding_to_char()
authorTatsuo Ishii <ishii@postgresql.org>
Tue, 2 May 2000 08:13:08 +0000 (08:13 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Tue, 2 May 2000 08:13:08 +0000 (08:13 +0000)
commit832877e95aa05481e7ffacf534afaebbb57cda1a
tree4dabe91f05174d49a07c5bd09e693ccb3fefff35
parentf6a3b87c7b5d870471c73ee47b494f8b32e2a3a4
Modify getdatabaseencoding(), pg_encoding_to_char()
pg_char_to_encoding() in multibyte disbaled case so that it does not
throw an error, rather return HARD CODED default value (currently SQL_ASCII).
This would solve the "non-mb backend vs. mb-enabled frontend" problem.
src/backend/utils/init/miscinit.c