pgsql: Correct StartupSUBTRANS for page wraparound

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема pgsql: Correct StartupSUBTRANS for page wraparound
Дата
Msg-id E1aWgYE-00022b-LE@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Correct StartupSUBTRANS for page wraparound

StartupSUBTRANS() incorrectly handled cases near the max pageid in the subtrans
data structure, which in some cases could lead to errors in startup for Hot
Standby.
This patch wraps the pageids correctly, avoiding any such errors.
Identified by exhaustive crash testing by Jeff Janes.

Jeff Janes

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/71e3cff2e5956f3edf6d99039dab0424eb82be94

Modified Files
--------------
src/backend/access/transam/subtrans.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: pgsql: Correct StartupSUBTRANS for page wraparound
Следующее
От: Simon Riggs
Дата:
Сообщение: pgsql: Correct StartupSUBTRANS for page wraparound