Re: InvalidXLogRecPtr in docs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: InvalidXLogRecPtr in docs
Date: 2010-06-10 02:56:56
Message-ID: 5899.1276138616@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Wed, Jun 9, 2010 at 9:46 PM, Takahiro Itagaki
> <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua Tolley 2010-06-10 03:10:54 Re: [PATCH] Add _PG_init to PL language handler documentation
Previous Message Tom Lane 2010-06-10 02:37:03 Re: Bug or feature? Timestamp parsing