Re: InvalidXLogRecPtr in docs - Mailing list pgsql-hackers

From Robert Haas
Subject Re: InvalidXLogRecPtr in docs
Date
Msg-id AANLkTimmFy_WMoWoZNHfg8i5ghq3g2XrwmXV_1Krwcn4@mail.gmail.com
Whole thread Raw
In response to InvalidXLogRecPtr in docs  (Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>)
Responses Re: InvalidXLogRecPtr in docs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, Jun 9, 2010 at 9:46 PM, Takahiro Itagaki
<itagaki.takahiro@oss.ntt.co.jp> wrote:
> I found a term "InvalidXLogRecPtr" in 9.0 docs.
> http://developer.postgresql.org/pgdocs/postgres/functions-admin.html#FUNCTIONS-RECOVERY-INFO-TABLE
> | ... then the return value will be InvalidXLogRecPtr (0/0).
>
> I think it should not appear in docs because it's a name for an internal
> constant variable. I'd like to rewrite the description like:
>
> ... then the return value will be 0/0, that is never used in normal cases.
>
> Comments?

Maybe we should be returning NULL instead of 0/0.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: 'create or replace function' no longer allows parameters
Next
From: Tatsuo Ishii
Date:
Subject: Re: failover vs. read only queries