Re: InvalidXLogRecPtr in docs - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: InvalidXLogRecPtr in docs
Date
Msg-id 4C108D9E.2000502@enterprisedb.com
Whole thread Raw
In response to Re: InvalidXLogRecPtr in docs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 10/06/10 05:56, Tom Lane wrote:
> Robert Haas<robertmhaas@gmail.com>  writes:
>> 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).
>
>> Maybe we should be returning NULL instead of 0/0.
>
> +1 for using NULL instead of an artificially chosen value, for both of
> those functions.

Agreed, committed a patch to do that.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: InvalidXLogRecPtr in docs
Next
From: Heikki Linnakangas
Date:
Subject: Re: InvalidXLogRecPtr in docs