Обсуждение: pgsql: recoveryStopsHere() must check the resource manager ID.

Поиск
Список
Период
Сортировка

pgsql: recoveryStopsHere() must check the resource manager ID.

От
Robert Haas
Дата:
recoveryStopsHere() must check the resource manager ID.

Before commit c016ce728139be95bb0dc7c4e5640507334c2339, this wasn't
needed, but now that multiple resource manager IDs can percolate down
through here, we have to make sure we know which one we've got.
Otherwise, we can confuse (for example) an XLOG_XACT_COMMIT record
with an XLOG_CHECKPOINT_SHUTDOWN record.

Review by Jaime Casanova

Branch
------
master

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

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