pgsql: Correct epoch of txid_current() when executed on a Hot Standby s

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема pgsql: Correct epoch of txid_current() when executed on a Hot Standby s
Дата
Msg-id E1SDFrp-0005TO-Sa@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Correct epoch of txid_current() when executed on a Hot Standby server.
Initialise ckptXidEpoch from starting checkpoint and maintain the correct
value as we roll forwards. This allows GetNextXidAndEpoch() to return the
correct epoch when executed during recovery. Backpatch to 9.0 when the
problem is first observable by a user.

Bug report from Daniel Farina

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/efff1cc5fe541ee01488981becd8a54e0f8af49f

Modified Files
--------------
src/backend/access/transam/xlog.c |   30 ++++++++++++++++++++++++++----
1 files changed, 26 insertions(+), 4 deletions(-)


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: pgsql: Correct epoch of txid_current() when executed on a Hot Standby s
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: initdb: Mark more messages for translation