From: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | PITR Error Message assistance |
Date: | 2004-06-29 20:39:07 |
Message-ID: | 1088541547.3266.7534.camel@stromboli |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-hackers |
Could I ask for feedback on the error messages used with the archiver
and restore functionality? Possibly those of you with a hand in the
Error Message style guide?
The messages need the eye of some administrators to suggest some better
phrases. Some probably need some explanation, but I'll leave that for
you to decide which...and what you think it should say instead. Thinking
that if they need explanation, they probably are worded wrongly...
These are copied straight from recent patch:
+ elog(WARNING, "could not set notify for archiver to read log file %u,
segment %u",
+ ereport(LOG,
+ (errmsg("recovery.conf found...starting archive recovery")));
+ elog(LOG, "redo: restored \"%s\" from archive", restoreXlog);
+ elog(LOG, "rename failed %s %s",recoveryXlog, lastrecoXlog);
+ elog(LOG, "redo: cannot restore \"%s\" from archive", restoreXlog);
+ ereport(ERROR,
+ (errcode_for_file_access(),
+ errmsg("could not write archive_status file \"%s\"
",
+ tmppath)));
+ elog(LOG, "redo: moving last restored xlog to %s", tmppath);
+ elog(LOG, "redo: rename failed");
+ elog(LOG, "redo: archive chain ends; using local copy of \"%s\"",
restoreXlog);
+ (errmsg("archive recovery complete")));
+ ereport(LOG,
! (errmsg("too many transaction log files, removing \"%s\"",
xlde->d_name)));
+ ereport(WARNING,
+ (errcode_for_file_access(),
+ errmsg("chkpt: cannot find archive_status file: %s ",
+ rlogpath)));
+ elog(WARNING, "chkpt: archiving not yet started for log file
%s",
+ xlog);
DEBUG MESSAGES
+ elog(LOG, "backend: written %s", rlogpath );
+
+ elog(LOG, "postmaster: WAKEN_ARCHIVER received, sending SIGUSR1 to
archiver");
+ elog(LOG, "chkpt: archiving done for log file %s",
+ xlog);
+ elog(LOG, "redo: system(%s)", xlogRestoreCmd);
Thanks,
Best regards, Simon Riggs
From | Date | Subject | |
---|---|---|---|
Next Message | Tuttle, Gene | 2004-06-29 20:52:37 | PL/pgsql |
Previous Message | Simon Riggs | 2004-06-29 20:26:22 | Re: lock timeout patch |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2004-06-29 20:56:06 | Re: Accessing Specific Schemas |
Previous Message | Doug McNaught | 2004-06-29 20:32:01 | Re: Accessing Specific Schemas |