From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Correctly init/deinit recovery xact environment. |
Date: | 2012-11-29 23:53:31 |
Message-ID: | E1TeDv9-00037f-Th@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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_1_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/6f9a9da85c9015e773d12e8571c469e5a2a6b3fb
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2012-11-30 00:16:14 | Re: Overlength socket paths (was Re: [COMMITTERS] pgsql: Refactor flex and bison make rules) |
Previous Message | Andrew Dunstan | 2012-11-29 23:31:23 | Re: Overlength socket paths (was Re: [COMMITTERS] pgsql: Refactor flex and bison make rules) |