Re: Hot Standby utility and administrator functions - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Hot Standby utility and administrator functions
Date
Msg-id 1224535163.3808.858.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: Hot Standby utility and administrator functions  ("Robert Haas" <robertmhaas@gmail.com>)
Responses Re: [GENERAL] Hot Standby utility and administrator functions  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
On Mon, 2008-10-20 at 16:22 -0400, Robert Haas wrote:
> > * pg_last_recovered_xact_xid()
> > Will throw an ERROR if *not* executed in recovery mode.
> > returns bigint
> >
> > * pg_last_completed_xact_xid()
> > Will throw an ERROR *if* executed in recovery mode.
> > returns bigint
>
> Should these return xid?

Perhaps, but they match txid_current() which returns bigint.
http://developer.postgresql.org/pgdocs/postgres/functions-info.html

Thanks for checking.

--
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Patch status for reducing de-TOAST overhead?
Next
From: Tom Lane
Date:
Subject: WIP patch to add "placeholder" variables to planner