[英]postgres 11.4 fails to start when wal_level is set to minimal
I have migrated my data by dumping and reloading it from pg9.3 to pg11.4 which went fine.我已经通过转储并将其从 pg9.3 重新加载到 pg11.4 来迁移我的数据,这一切顺利。 And I am able to run the new server with default config
我可以使用默认配置运行新服务器
The pg11.4 works fine but it fails to restart when I set in postgres.conf
to pg11.4 工作正常,但是当我在
postgres.conf
中设置为时它无法重新启动
wal_level = minimal
This same setting works in my 9.3 instance but not in 11.4同样的设置适用于我的 9.3 实例但不适用于 11.4
Is there any config setting that could conflict with wal_level = minimal
?是否有任何配置设置可能与
wal_level = minimal
冲突?
It is no problem to start PostgreSQL v11 with wal_level=minimal
unless there is another configuration setting that conflicts with it.使用
wal_level=minimal
启动 PostgreSQL v11 没有问题,除非有另一个配置设置与之冲突。 For example, archive_mode
cannot be on
.例如,
archive_mode
不能为on
。
Look into the PostgreSQL log file for the error message, or start PostgreSQL manually with查看 PostgreSQL 日志文件以获取错误消息,或使用以下命令手动启动 PostgreSQL
pg_ctl start -D datadir
to see the message that will tell you the exact reason why the server failed to start.查看将告诉您服务器无法启动的确切原因的消息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.