pgsql: Correctly init/deinit recovery xact environment.

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема pgsql: Correctly init/deinit recovery xact environment.
Дата
Msg-id E1TeDv9-00037h-UY@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Correctly init/deinit recovery xact environment.
Previously we performed VirtualXactLockTableInsert
but didn't set MyProc->lxid for Startup process.
pg_locks now correctly shows "1/1" for vxid
of Startup process during Hot Standby.
At end of Hot Standby the Virtual Transaction
was not deleted, leading to problems after
promoting to normal running for some commands,
such as CREATE INDEX CONCURRENTLY.

Branch
------
REL9_0_STABLE

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

Modified Files
--------------
src/backend/storage/ipc/standby.c |    9 ++++++++-
src/backend/storage/lmgr/lmgr.c   |   18 ++++++++++++++++++
src/include/storage/lmgr.h        |    1 +
3 files changed, 27 insertions(+), 1 deletions(-)


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: pgsql: Correctly init/deinit recovery xact environment.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Produce a more useful error message for over-length Unix socket