Re: [HACKERS] Hot Standby utility and administrator functions

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas OSB sIT
Тема Re: [HACKERS] Hot Standby utility and administrator functions
Дата
Msg-id 6DAFE8F5425AB84DB3FCA4537D829A561CE07FCB6C@M0164.s-mxs.net
обсуждение исходный текст
Ответ на Re: [HACKERS] Hot Standby utility and administrator functions  ("Robert Haas" <robertmhaas@gmail.com>)
Ответы Re: [HACKERS] Hot Standby utility and administrator functions  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-general
> > * 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

В списке pgsql-general по дате отправления:

Предыдущее
От: tomas@tuxteam.de
Дата:
Сообщение: Re: [HACKERS] Debian no longer dumps cores?
Следующее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: tsearch2: setting weights on tsquery