D:\>cd D:\tmp\pgsql\bin
手动在D:\tmp\pgsql下新建data文件夹
D:\tmp\pgsql\bin>initdb -D D:\tmp\pgsql\data
属于此数据库系统的文件宿主为用户 "Administrator".
此用户也必须为服务器进程的宿主.
The database cluster will be initialized with locale "Chinese (Simplified)_Peopl
e's Republic of China.936".
Encoding "GBK" implied by locale is not allowed as a server-side encoding.
The default database encoding will be set to "UTF8" instead.
initdb: could not find suitable text search configuration for locale "Chinese (S
implified)_People's Republic of China.936"
缺省的文本搜索配置将会被设置到"simple"
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.