OSDN Git Service

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