]> granicus.if.org Git - postgresql/commit
Fix STOP WAL LOCATION in backup history files no to return the next
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Fri, 19 Feb 2010 01:06:51 +0000 (01:06 +0000)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Fri, 19 Feb 2010 01:06:51 +0000 (01:06 +0000)
commit28a19436ca464eb4c0a5bad918b3b6b5d8c7b827
treedac446db9b073bddeebb41393890a0c5de716ea7
parent08181b427c1b3a4537c331b30492da1881a5b341
Fix STOP WAL LOCATION in backup history files no to return the next
segment of XLOG_BACKUP_END record even if the the record is placed
at a segment boundary. Furthermore the previous implementation could
return nonexistent segment file name when the boundary is in segments
that has "FE" suffix; We never use segments with "FF" suffix.

Backpatch to 8.0, where hot backup was introduced.

Reported by Fujii Masao.
src/backend/access/transam/xlog.c