| From: | Zeugswetter Andreas OSB sIT <Andreas(dot)Zeugswetter(at)s-itsolutions(dot)at> |
|---|---|
| To: | Robert Haas <robertmhaas(at)gmail(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com> |
| Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, "pgadmin-hackers(at)postgresql(dot)org" <pgadmin-hackers(at)postgresql(dot)org>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: [HACKERS] Hot Standby utility and administrator functions |
| Date: | 2008-10-21 07:44:40 |
| Message-ID: | 6DAFE8F5425AB84DB3FCA4537D829A561CE07FCB6C@M0164.s-mxs.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers pgsql-general pgsql-hackers |
> > * 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?
And shouldn't these two be folded together ?
It seems most usages of this xid(/lsn?) will be agnostic to the
recovery mode. Or if not, it seems more convenient to have a function
that returns both recovery mode and xid, no ?
Andreas
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2008-10-21 12:10:00 | Re: [HACKERS] Hot Standby utility and administrator functions |
| Previous Message | Simon Riggs | 2008-10-21 07:05:42 | Re: [GENERAL] [HACKERS] Hot Standby utility and administrator functions |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | tomas | 2008-10-21 07:49:44 | Re: [HACKERS] Debian no longer dumps cores? |
| Previous Message | Simon Riggs | 2008-10-21 07:05:42 | Re: [GENERAL] [HACKERS] Hot Standby utility and administrator functions |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | tomas | 2008-10-21 07:49:44 | Re: [HACKERS] Debian no longer dumps cores? |
| Previous Message | Simon Riggs | 2008-10-21 07:05:42 | Re: [GENERAL] [HACKERS] Hot Standby utility and administrator functions |