pgsql: Add missing Assert and fix inaccurate elog message in standby_re

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add missing Assert and fix inaccurate elog message in standby_re
Date: 2012-02-05 03:37:53
Message-ID: E1RtsvJ-00040c-GH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2af72cefeaa15e27277d327783fdec2748d9b758

Modified Files
--------------
src/backend/storage/ipc/standby.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bernd Helmle 2012-02-05 12:53:17 Re: pgsql: Applied Peter's patch to PQconnectdbParams in ecpglib instead of
Previous Message Tom Lane 2012-02-05 00:24:05 pgsql: Allow SQL-language functions to reference parameters by name.