From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: [COMMITTERS] pgsql: Check compulsory parameters in recovery.conf in standby_mode, per |
Date: | 2010-04-05 20:48:33 |
Message-ID: | i2x603c8f071004051348s7fe46542sefd1ab63d3dfa480@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On Mon, Apr 5, 2010 at 4:18 PM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> On Mon, 2010-04-05 at 15:58 -0400, Tom Lane wrote:
>> Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
>> > (errmsg("recovery command file \"%s\" specified neither primary_conninfo nor restore_command",
>> > - RECOVERY_COMMAND_FILE)));
>> > + RECOVERY_COMMAND_FILE),
>> > + errdetail("The database server will regularly poll the pg_xlog subdirectory to check for files placed there.")));
>>
>> That's not a "detail", as it has nothing to do with details of the error
>> condition. It might pass muster as a "hint", though I'm not entirely
>> sure what the point is.
>
> The server sits around doing nothing and the point of the message is to
> explain why that is and give a hint as to what might change that
> situation, if anything.
Yeah, I think that's good information to provide. But I have to admit
that I too considered suggesting changing it from errdetail to
errhint, so the fact that Tom had the same thought suggests to me that
that's probably better.
...Robert
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2010-04-06 02:18:05 | pgsql: Reword exclusion constriants to mention that the operator can |
Previous Message | Simon Riggs | 2010-04-05 20:18:21 | Re: Re: [COMMITTERS] pgsql: Check compulsory parameters in recovery.conf in standby_mode, per |
From | Date | Subject | |
---|---|---|---|
Next Message | Giles Lean | 2010-04-06 01:10:18 | Re: make check hangs in alpha5 |
Previous Message | Simon Riggs | 2010-04-05 20:18:21 | Re: Re: [COMMITTERS] pgsql: Check compulsory parameters in recovery.conf in standby_mode, per |