Postgresql 中文操作指南

O.4. pg_resetxlog renamed to pg_resetwal #

PostgreSQL 9.6 及更低版本提供了一个名为 pg_resetxlog 的命令来重置预写日志 (WAL) 文件。该命令已重命名为 pg_resetwal ,有关 pg_resetwal 的文档,请参见 pg_resetwal ,有关此更改的详细信息,请参见 the release notes for PostgreSQL 10

PostgreSQL 9.6 and below provided a command named pg_resetxlog to reset the write-ahead-log (WAL) files. This command was renamed to pg_resetwal, see pg_resetwal for documentation of pg_resetwal and see the release notes for PostgreSQL 10 for details on this change.