Fix STOP WAL LOCATION in backup history files no to return the next
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Fri, 19 Feb 2010 01:07:57 +0000 (01:07 +0000)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Fri, 19 Feb 2010 01:07:57 +0000 (01:07 +0000)
commit2c0914be737f81c2d0c020bf44fb66d92281c3a6
treee8e4c1f1bceee929bd8d19ea9df6846d7f114a6e
parentaff66ef11314bf24863b503d9d8949c712e25100
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