Minor adjustment of message style.

This commit is contained in:
Tom Lane 2004-11-17 16:26:59 +00:00
parent 2fa36d7e41
commit 37d693033d
1 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.177 2004/11/17 02:22:54 neilc Exp $ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.178 2004/11/17 16:26:59 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -5270,9 +5270,9 @@ pg_start_backup(PG_FUNCTION_ARGS)
if (!XLogArchivingActive()) if (!XLogArchivingActive())
ereport(ERROR, ereport(ERROR,
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE), (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
(errmsg("WAL archiving is not configured"), (errmsg("WAL archiving is not active"),
(errhint("archive_command must be defined before " (errhint("archive_command must be defined before "
"online backups can be safely made."))))); "online backups can be made safely.")))));
backupidstr = DatumGetCString(DirectFunctionCall1(textout, backupidstr = DatumGetCString(DirectFunctionCall1(textout,
PointerGetDatum(backupid))); PointerGetDatum(backupid)));