aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-12-14 18:21:42 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-12-14 18:21:42 -0500
commit4b021aa6103f49bece51d58fd5e307d4d03380bc (patch)
tree5c1b30322be83a2269d765daf9317a4641389b41 /src/tutorial/funcs.c
parent188675256e15f7ad4d24ae976d1bb5fbb84f43e1 (diff)
downloadpostgresql-4b021aa6103f49bece51d58fd5e307d4d03380bc.tar.gz
postgresql-4b021aa6103f49bece51d58fd5e307d4d03380bc.zip
pg_rewind: Don't error if the two clusters are already on the same timeline
This previously resulted in an error and a nonzero exit status, but after discussion this should rather be a noop with a zero exit status. This is a back-patch of commit 6b34e5563849edc12896bf5754e8fe7b88012697, plus two changes from commit e50cda78404d6400b1326a996a4fabb144871151 that teach pg_rewind to allow the initial control file states to be DB_SHUTDOWNED_IN_RECOVERY as well as DB_SHUTDOWNED. That's necessary to get the additional regression test case to pass, and the old behavior seems like rather a foot-gun anyway. Peter Eisentraut and Tom Lane
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions