aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2013-06-20 23:03:18 -0400
committerPeter Eisentraut <peter_e@gmx.net>2013-06-20 23:03:18 -0400
commit7dfd5cd21c0091e467b16b31a10e20bbedd0a836 (patch)
tree6224eeb38efa913f1bd7a3f3819f651f190f12db /doc/src
parent4c54e87a86d6e73aa3a3b7710fa3db33297792d4 (diff)
downloadpostgresql-7dfd5cd21c0091e467b16b31a10e20bbedd0a836.tar.gz
postgresql-7dfd5cd21c0091e467b16b31a10e20bbedd0a836.zip
Clarify terminology standalone backend vs. single-user mode
Most of the documentation uses "single-user mode", so use that in the code as well. Adjust the documentation to match the new error message wording. Also add a documentation index entry for "single-user mode". Based-on-patch-by: Jeff Janes <jeff.janes@gmail.com>
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/maintenance.sgml10
-rw-r--r--doc/src/sgml/ref/postgres-ref.sgml4
2 files changed, 9 insertions, 5 deletions
diff --git a/doc/src/sgml/maintenance.sgml b/doc/src/sgml/maintenance.sgml
index c05b5262cb3..9e3e3c5ac43 100644
--- a/doc/src/sgml/maintenance.sgml
+++ b/doc/src/sgml/maintenance.sgml
@@ -581,17 +581,17 @@ HINT: To avoid a database shutdown, execute a database-wide VACUUM in "mydb".
<programlisting>
ERROR: database is not accepting commands to avoid wraparound data loss in database "mydb"
-HINT: Stop the postmaster and use a standalone backend to VACUUM in "mydb".
+HINT: Stop the postmaster and vacuum that database in single-user mode.
</programlisting>
The 1-million-transaction safety margin exists to let the
administrator recover without data loss, by manually executing the
required <command>VACUUM</> commands. However, since the system will not
execute commands once it has gone into the safety shutdown mode,
- the only way to do this is to stop the server and use a single-user
- backend to execute <command>VACUUM</>. The shutdown mode is not enforced
- by a single-user backend. See the <xref linkend="app-postgres"> reference
- page for details about using a single-user backend.
+ the only way to do this is to stop the server and start the server in single-user
+ mode to execute <command>VACUUM</>. The shutdown mode is not enforced
+ in single-user mode. See the <xref linkend="app-postgres"> reference
+ page for details about using single-user mode.
</para>
</sect2>
diff --git a/doc/src/sgml/ref/postgres-ref.sgml b/doc/src/sgml/ref/postgres-ref.sgml
index 943a3be00e3..65fd0a29ffb 100644
--- a/doc/src/sgml/ref/postgres-ref.sgml
+++ b/doc/src/sgml/ref/postgres-ref.sgml
@@ -529,6 +529,10 @@ PostgreSQL documentation
<refsect2>
<title>Options for Single-User Mode</title>
+ <indexterm>
+ <primary>single-user mode</primary>
+ </indexterm>
+
<para>
The following options only apply to the single-user mode.
</para>