diff options
author | Magnus Hagander <magnus@hagander.net> | 2016-07-11 12:02:31 +0200 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2016-07-11 12:02:31 +0200 |
commit | 87d84d67bb15752c79a1c07e603126830642ac84 (patch) | |
tree | b6385be299092b2064d531dfca46b2201dc260f7 /src/backend/access/gist/gist.c | |
parent | 96112ee7c60557bb192a9aa07b514db2400fd45e (diff) | |
download | postgresql-87d84d67bb15752c79a1c07e603126830642ac84.tar.gz postgresql-87d84d67bb15752c79a1c07e603126830642ac84.zip |
Fix start WAL filename for concurrent backups from standby
On a standby, ThisTimelineID is always 0, so we would generate a
filename in timeline 0 even for other timelines. Instead, use starttli
which we have retreived from the controlfile.
Report by: Francesco Canovai in bug #14230
Author: Marco Nenciarini
Reviewed by: Michael Paquier and Amit Kapila
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions