git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 706fcbd) | patch
Fix incorrect archive truncation point calculation in the %r recovery_command
Fri, 9 May 2008 14:27:47 +0000 (14:27 +0000)
Fri, 9 May 2008 14:27:47 +0000 (14:27 +0000)
commit f0eb3e5e580f0ac95cb451f931dac4352cb9adba
Fix incorrect archive truncation point calculation in the %r recovery_command
parameter. This fixes bug 4137 reported by Wojciech Strzalka, where a WAL
file is deleted too early when starting the recovery of a warm standby server.

Also add a sanity check in pg_standby so that it will refuse to delete anything
earlier than the file being restored, and improve the debug message in case
nothing is deleted.

Simon Riggs. Backpatch to 8.3, which is where %r was introduced.
contrib/pg_standby/pg_standby.c diff | blob | blame | history
src/backend/access/transam/xlog.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /