aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-09-08 16:42:15 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-09-08 16:42:15 +0000
commitead21631e8c716452b08c6e5bbac43b081c303f9 (patch)
tree8cc0e7fb41d8c3e279af4420b0b0e9139e8c15c2 /src/backend/utils/adt/xml.c
parentbc01b45ab9fc4774e0adbe971bd0fff5a17f5705 (diff)
downloadpostgresql-ead21631e8c716452b08c6e5bbac43b081c303f9.tar.gz
postgresql-ead21631e8c716452b08c6e5bbac43b081c303f9.zip
Fix a couple of problems pointed out by Fujii Masao in the 2008-Apr-05 patch
for pg_stop_backup. First, it is possible that the history file name is not alphabetically later than the last WAL file name, so we should explicitly check that both have been archived. Second, the previous coding would wait forever if a checkpoint had managed to remove the WAL file before we look for it. Simon Riggs, plus some code cleanup by me.
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions