Re: BUG #3486: doc bug - Preventing transaction ID wraparound failures

From: Decibel! <decibel(at)decibel(dot)org>
To: Fujii Masao <fujii(dot)masao(at)oss(dot)ntt(dot)co(dot)jp>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3486: doc bug - Preventing transaction ID wraparound failures
Date: 2007-07-31 01:33:45
Message-ID: AFC37A4B-5D30-4102-AF1A-FC298C972B68@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Jul 26, 2007, at 4:09 AM, Fujii Masao wrote:
> The following bug has been logged online:
>
> Bug reference: 3486
> Logged by: Fujii Masao
> Email address: fujii(dot)masao(at)oss(dot)ntt(dot)co(dot)jp
> PostgreSQL version: 8.3
> Operating system: RHEL4
> Description: doc bug - Preventing transaction ID wraparound
> failures
> Details:
>
> According to "varsup.c - GetNewTransactionId()", the error message in
> transaction ID wraparound failures
> is different from the one in the document.
>
>
> *** ./doc/src/sgml/maintenance.sgml.orig 2007-07-26 10:44:19.000000000
> +0900
> --- ./doc/src/sgml/maintenance.sgml 2007-07-26 10:45:11.000000000
> +0900
> ***************
> *** 447,453 ****
> until wraparound:
>
> <programlisting>
> ! ERROR: database is shut down to avoid wraparound data loss in
> database
> "mydb"
> HINT: Stop the postmaster and use a standalone backend to VACUUM in
> "mydb".
> </programlisting>
>
> --- 447,453 ----
> until wraparound:
>
> <programlisting>
> ! ERROR: database is not accepting commands to avoid wraparound
> data loss
> in database "mydb"
> HINT: Stop the postmaster and use a standalone backend to VACUUM in
> "mydb".
> </programlisting>

Is there any way we could extend the po system to allow for calling
out actual error messages from code into the docs? I see that the .po
files call out source code files and locations...

As an alternative, I could probably come up with something that would
allow for putting error message examples in comments in the source
code so at least if someone's changing something they can just change
it in one place.
--
Decibel!, aka Jim Nasby decibel(at)decibel(dot)org
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Decibel! 2007-07-31 01:36:19 Re: BUG #3488: exporting data
Previous Message Decibel! 2007-07-31 01:20:25 Re: BUG #3484: Missing pg_clog file / corrupt index