aboutsummaryrefslogtreecommitdiff
path: root/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 /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 'src')
-rw-r--r--src/backend/access/transam/varsup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/transam/varsup.c b/src/backend/access/transam/varsup.c
index 0579c84bea2..75216b9d420 100644
--- a/src/backend/access/transam/varsup.c
+++ b/src/backend/access/transam/varsup.c
@@ -73,7 +73,7 @@ GetNewTransactionId(bool isSubXact)
* If we're past xidVacLimit, start trying to force autovacuum cycles.
* If we're past xidWarnLimit, start issuing warnings.
* If we're past xidStopLimit, refuse to execute transactions, unless
- * we are running in a standalone backend (which gives an escape hatch
+ * we are running in single-user mode (which gives an escape hatch
* to the DBA who somehow got past the earlier defenses).
*
* Note that this coding also appears in GetNewMultiXactId.
@@ -114,14 +114,14 @@ GetNewTransactionId(bool isSubXact)
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
errmsg("database is not accepting commands to avoid wraparound data loss in database \"%s\"",
oldest_datname),
- errhint("Stop the postmaster and use a standalone backend to vacuum that database.\n"
+ errhint("Stop the postmaster and vacuum that database in single-user mode.\n"
"You might also need to commit or roll back old prepared transactions.")));
else
ereport(ERROR,
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
errmsg("database is not accepting commands to avoid wraparound data loss in database with OID %u",
oldest_datoid),
- errhint("Stop the postmaster and use a standalone backend to vacuum that database.\n"
+ errhint("Stop the postmaster and vacuum that database in single-user mode.\n"
"You might also need to commit or roll back old prepared transactions.")));
}
else if (TransactionIdFollowsOrEquals(xid, xidWarnLimit))