Add missing Assert and fix inaccurate elog message in standby_redo().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2af72cefeaa15e27277d327783fdec2748d9b758
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2012-02-05T03:32:35Z
Releases: 9.2.0
Add missing Assert and fix inaccurate elog message in standby_redo().

All other WAL redo routines either call RestoreBkpBlocks() or Assert that
they haven't been passed any backup blocks.  Make this one do likewise.
Also, fix incorrect routine name in its failure message.

Files

PathChange+/−
src/backend/storage/ipc/standby.c modified +4 −1