Re: Confusing message on startup after a crash while recovering

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Cc: Postgresql-General <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Confusing message on startup after a crash while recovering
Date: 2007-02-16 21:09:25
Message-ID: 7632.1171660165@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Florian G. Pflug" <fgp(at)phlo(dot)org> writes:
> I'd suggest that the text is changed to something along the line of:
> "database system was interrupted while in recovery at ...
> If this has occurred more than once some data may be corrupted and
> you may need to restore from the last backup."

It seems the real problem is that it's not specifying *which* data is
probably corrupted. Maybe:

HINT: If recovery fails repeatedly, it probably means that the recovery log
data is corrupted; you may have to restore from your last full backup.

Also, do we want to suggest use of pg_resetxlog in the message?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-02-16 21:34:16 Re: [HACKERS] Another aspect of set_ps_display ()
Previous Message Warren Turkal 2007-02-16 21:07:39 Re: RFC: Temporal Extensions for PostgreSQL