Home Explore Blog CI



postgresql

1st chunk of `doc/src/sgml/appendix-obsolete-pgresetxlog.sgml`
e1d69beab3177f2f2e3f0f7dca9c24afdbc48985c035d784000000010000038b
<!-- doc/src/sgml/appendix-obsolete-pgresetxlog.sgml -->
<!--
  See doc/src/sgml/appendix-obsolete.sgml for why this file exists. Do not change the id attribute.
-->

<sect1 id="app-pgresetxlog" xreflabel="pg_resetxlog">
  <title><command>pg_resetxlog</command> renamed to <command>pg_resetwal</command></title>

   <indexterm>
     <primary>pg_resetxlog</primary>
     <see>pg_resetwal</see>
   </indexterm>

   <para>
    PostgreSQL 9.6 and below provided a command named
    <command>pg_resetxlog</command>
    <indexterm><primary>pg_resetxlog</primary></indexterm>
    to reset the write-ahead-log (WAL) files.  This command was renamed to <command>pg_resetwal</command>, see
    <xref linkend="app-pgresetwal"/> for documentation of <command>pg_resetwal</command> and see
    <link linkend="release-prior">the release notes for PostgreSQL 10</link> for details
    on this change.
   </para>

</sect1>

Title: PostgreSQL Command Rename: pg_resetxlog to pg_resetwal
Summary
This document outlines the renaming of the PostgreSQL command 'pg_resetxlog' to 'pg_resetwal'. The change occurred after PostgreSQL 9.6, with the new name implemented in version 10. The command is used to reset the write-ahead-log (WAL) files. Users are directed to the pg_resetwal documentation and PostgreSQL 10 release notes for more information on this change and the command's functionality.