]> git.ipfire.org Git - thirdparty/postgresql.git/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:04:39 +0000 (01:04 +0000)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Fri, 19 Feb 2010 01:04:39 +0000 (01:04 +0000)
commit472e29bf879ad4ed60cfb103b87130cd523d639b
treeb4ad394430edde83e9fd3b42156fbfc72f15d5db
parentd1b9b0c5632595dec59093fa6231705c0efeda99
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