我有一些我需要连接的旧数据库(postgres 9.1).我没有问题启动服务器
pg_ctl start -D D:\datadir\pgdata\data -w
但是当我尝试连接时,它会给出:
psql -U postgres -p 15432 psql: FATAL: database locale is incompatible with operating system DETAIL: The database was initialized with LC_COLLATE "Norwegian (Bokmål)_Norway.1252",which is not recognized by setlocale(). HINT: Recreate the database with another locale or install the missing locale.
新版本的postgres无法启动服务器(不兼容的数据版本).
我正在使用windows 10,使用postgres 9.1二进制文件.