BUG #16113: pg_dumpall failed on database "中文"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

BUG #16113: pg_dumpall failed on database "中文"

PG Bug reporting form
The following bug has been logged on the website:

Bug reference:      16113
Logged by:          King Li
Email address:      [hidden email]
PostgreSQL version: 10.10
Operating system:   win10 x64
Description:        

Hi team,
The steps are:
1.
--
-- C:\Users\xli\Destktop\qgsql\bin>initdb.exe -D ../data -U postgres
-- ...
--缺省的文本搜索配置将会被设置到"simple"
-- ...
--
2.
--
-- C:\Users\xli\Desktop\pgsql\bin> pg_ctl -D ../data -l logfile start
--
3.
--
-- C:\Users\xli\Desktop\pgsql\bin>psql.exe -d postgres -U postgres
-- psql (10.10)
-- postgres=# create database 中文;
-- CREATE DATABASE
--
4.
--
-- C:\Users\xli\Desktop\pgsql\bin>pg_dumpall.exe -h localhost -U postgres -f
dumpall.dmp
-- pg_dump: [归档 (db)] 与数据库 "鋇竈璣鎊朸嘵" 联接失败: 致命错误:  数据库 "鋇竈璣鎊朸嘵" 不存在
-- pg_dumpall: pg_dump 失败在数据库 "涓枃", 正在退出
--

exception:
pg_dumpall complete ..
But now, there are some error here.
We tried all Chinese character databases, but none of pg_dumpall supported
them.
Thanks,
King Li