Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Hot Standby utility and administrator functions

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, pgadmin-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Hot Standby utility and administrator functions
Date: 2008-10-20 20:39:23
Message-ID: 1224535163.3808.858.camel@ebony.2ndQuadrant (view raw or flat)
Thread:
Lists: pgadmin-hackerspgsql-generalpgsql-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


In response to

Responses

pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2008-10-20 20:40:37
Subject: Re: HEAD is broken - transam.c
Previous:From: Tom LaneDate: 2008-10-20 20:38:12
Subject: WIP patch to add "placeholder" variables to planner

pgadmin-hackers by date

Next:From: Alvaro HerreraDate: 2008-10-20 20:44:05
Subject: Re: [GENERAL] [HACKERS] Hot Standby utility and administratorfunctions
Previous:From: Robert HaasDate: 2008-10-20 20:22:25
Subject: Re: [HACKERS] Hot Standby utility and administrator functions

pgsql-general by date

Next:From: Alvaro HerreraDate: 2008-10-20 20:44:05
Subject: Re: [GENERAL] [HACKERS] Hot Standby utility and administratorfunctions
Previous:From: Robert HaasDate: 2008-10-20 20:22:25
Subject: Re: [HACKERS] Hot Standby utility and administrator functions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group