aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.c
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2015-12-01 18:56:44 +0300
committerTeodor Sigaev <teodor@sigaev.ru>2015-12-01 18:56:44 +0300
commite50cda78404d6400b1326a996a4fabb144871151 (patch)
tree2e75499dc681f7628bdb401c03ba0c88727c5a22 /src/backend/access/transam/commit_ts.c
parent0e0776bc99553ff229e0d536ed8c78ab9db62464 (diff)
downloadpostgresql-e50cda78404d6400b1326a996a4fabb144871151.tar.gz
postgresql-e50cda78404d6400b1326a996a4fabb144871151.zip
Use pg_rewind when target timeline was switched
Allow pg_rewind to work when target timeline was switched. Now user can return promoted standby to old master. Target timeline history becomes a global variable. Index in target timeline history is used in function interfaces instead of specifying TLI directly. Thus, SimpleXLogPageRead() can easily start reading XLOGs from next timeline when current timeline ends. Author: Alexander Korotkov Review: Michael Paquier
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions