summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Paquier2023-01-25 05:36:51 +0000
committerMichael Paquier2023-01-25 05:36:51 +0000
commit0ad3c60caf5f77edfefaf8850fbba5ea4fe28640 (patch)
tree0edd80514358104a8ac00ca35f23e5b4f69219ef /doc
parent239b1753421ccbd52f4f628a9265c3034d38b80f (diff)
Rename contrib module basic_archive to basic_wal_module
This rename is in preparation for the introduction of recovery modules, where basic_wal_module will be used as a base template for the set of callbacks introduced. The former name did not really reflect all that. Author: Nathan Bossart Discussion: https://postgr.es/m/20221227192449.GA3672473@nathanxps13
Diffstat (limited to 'doc')
-rw-r--r--doc/src/sgml/appendix-obsolete-basic-archive.sgml25
-rw-r--r--doc/src/sgml/appendix-obsolete.sgml1
-rw-r--r--doc/src/sgml/archive-modules.sgml2
-rw-r--r--doc/src/sgml/basic-wal-module.sgml (renamed from doc/src/sgml/basic-archive.sgml)30
-rw-r--r--doc/src/sgml/contrib.sgml2
-rw-r--r--doc/src/sgml/filelist.sgml3
6 files changed, 45 insertions, 18 deletions
diff --git a/doc/src/sgml/appendix-obsolete-basic-archive.sgml b/doc/src/sgml/appendix-obsolete-basic-archive.sgml
new file mode 100644
index 0000000000..5070b3b6ab
--- /dev/null
+++ b/doc/src/sgml/appendix-obsolete-basic-archive.sgml
@@ -0,0 +1,25 @@
+<!-- doc/src/sgml/appendix-obsolete-basic-archive.sgml -->
+<!--
+ See doc/src/sgml/appendix-obsolete.sgml for why this file exists. Do not change the id attribute.
+-->
+
+<sect1 id="basic-archive" xreflabel="basic_archive">
+ <title><command>basic_archive</command> renamed to <command>basic_wal_module</command></title>
+
+ <indexterm>
+ <primary>basic_archive</primary>
+ <see>basic_wal_module</see>
+ </indexterm>
+
+ <para>
+ PostgreSQL 15 provided an archive module named
+ <filename>basic_archive</filename>
+ <indexterm><primary>basic_archive</primary></indexterm>.
+ This module was renamed to <filename>basic_wal_module</filename>. See
+ <xref linkend="basic-wal-module"/> for documentation of
+ <filename>basic_wal_module</filename>, and see
+ <link linkend="release-prior">the release notes for PostgreSQL 16</link>
+ for details on this change.
+ </para>
+
+</sect1>
diff --git a/doc/src/sgml/appendix-obsolete.sgml b/doc/src/sgml/appendix-obsolete.sgml
index b1a00c8ce6..87c1b1020d 100644
--- a/doc/src/sgml/appendix-obsolete.sgml
+++ b/doc/src/sgml/appendix-obsolete.sgml
@@ -38,5 +38,6 @@
&obsolete-pgxlogdump;
&obsolete-pgresetxlog;
&obsolete-pgreceivexlog;
+ &obsolete-basic-archive;
</appendix>
diff --git a/doc/src/sgml/archive-modules.sgml b/doc/src/sgml/archive-modules.sgml
index ef02051f7f..1a32006e2c 100644
--- a/doc/src/sgml/archive-modules.sgml
+++ b/doc/src/sgml/archive-modules.sgml
@@ -32,7 +32,7 @@
</para>
<para>
- The <filename>contrib/basic_archive</filename> module contains a working
+ The <filename>contrib/basic_wal_module</filename> module contains a working
example, which demonstrates some useful techniques.
</para>
diff --git a/doc/src/sgml/basic-archive.sgml b/doc/src/sgml/basic-wal-module.sgml
index b4d43ced20..c418b01eb8 100644
--- a/doc/src/sgml/basic-archive.sgml
+++ b/doc/src/sgml/basic-wal-module.sgml
@@ -1,16 +1,16 @@
-<!-- doc/src/sgml/basic-archive.sgml -->
+<!-- doc/src/sgml/basic-wal-module.sgml -->
-<sect1 id="basic-archive" xreflabel="basic_archive">
- <title>basic_archive &mdash; an example WAL archive module</title>
+<sect1 id="basic-wal-module" xreflabel="basic_wal_module">
+ <title>basic_wal_module &mdash; an example write-ahead log module</title>
- <indexterm zone="basic-archive">
- <primary>basic_archive</primary>
+ <indexterm zone="basic-wal-module">
+ <primary>basic_wal_module</primary>
</indexterm>
<para>
- <filename>basic_archive</filename> is an example of an archive module. This
- module copies completed WAL segment files to the specified directory. This
- may not be especially useful, but it can serve as a starting point for
+ <filename>basic_wal_module</filename> is an example of an archive module.
+ This module copies completed WAL segment files to the specified directory.
+ This may not be especially useful, but it can serve as a starting point for
developing your own archive module. For more information about archive
modules, see <xref linkend="archive-modules"/>.
</para>
@@ -21,15 +21,15 @@
must be enabled.
</para>
- <sect2 id="basic-archive-configuration-parameters">
+ <sect2 id="basic-wal-module-configuration-parameters">
<title>Configuration Parameters</title>
<variablelist>
<varlistentry>
<term>
- <varname>basic_archive.archive_directory</varname> (<type>string</type>)
+ <varname>basic_wal_module.archive_directory</varname> (<type>string</type>)
<indexterm>
- <primary><varname>basic_archive.archive_directory</varname> configuration parameter</primary>
+ <primary><varname>basic_wal_module.archive_directory</varname> configuration parameter</primary>
</indexterm>
</term>
<listitem>
@@ -52,12 +52,12 @@
<programlisting>
# postgresql.conf
archive_mode = 'on'
-archive_library = 'basic_archive'
-basic_archive.archive_directory = '/path/to/archive/directory'
+archive_library = 'basic_wal_module'
+basic_wal_module.archive_directory = '/path/to/archive/directory'
</programlisting>
</sect2>
- <sect2 id="basic-archive-notes">
+ <sect2 id="basic-wal-module-notes">
<title>Notes</title>
<para>
@@ -70,7 +70,7 @@ basic_archive.archive_directory = '/path/to/archive/directory'
</para>
</sect2>
- <sect2 id="basic-archive-author">
+ <sect2 id="basic-wal-module-author">
<title>Author</title>
<para>
diff --git a/doc/src/sgml/contrib.sgml b/doc/src/sgml/contrib.sgml
index 12c79b798b..3225284eea 100644
--- a/doc/src/sgml/contrib.sgml
+++ b/doc/src/sgml/contrib.sgml
@@ -105,7 +105,7 @@ CREATE EXTENSION <replaceable>extension_name</replaceable>;
&auth-delay;
&auto-explain;
&basebackup-to-shell;
- &basic-archive;
+ &basic-wal-module;
&bloom;
&btree-gin;
&btree-gist;
diff --git a/doc/src/sgml/filelist.sgml b/doc/src/sgml/filelist.sgml
index 0d6be9a2fa..2d36c34ce8 100644
--- a/doc/src/sgml/filelist.sgml
+++ b/doc/src/sgml/filelist.sgml
@@ -116,7 +116,7 @@
<!ENTITY amcheck SYSTEM "amcheck.sgml">
<!ENTITY auth-delay SYSTEM "auth-delay.sgml">
<!ENTITY auto-explain SYSTEM "auto-explain.sgml">
-<!ENTITY basic-archive SYSTEM "basic-archive.sgml">
+<!ENTITY basic-wal-module SYSTEM "basic-wal-module.sgml">
<!ENTITY basebackup-to-shell SYSTEM "basebackup-to-shell.sgml">
<!ENTITY bloom SYSTEM "bloom.sgml">
<!ENTITY btree-gin SYSTEM "btree-gin.sgml">
@@ -200,3 +200,4 @@
<!ENTITY obsolete-pgxlogdump SYSTEM "appendix-obsolete-pgxlogdump.sgml">
<!ENTITY obsolete-pgresetxlog SYSTEM "appendix-obsolete-pgresetxlog.sgml">
<!ENTITY obsolete-pgreceivexlog SYSTEM "appendix-obsolete-pgreceivexlog.sgml">
+<!ENTITY obsolete-basic-archive SYSTEM "appendix-obsolete-basic-archive.sgml">