pgsql: Don't abort pg_basebackup when receiving empty WAL block

Started by Magnus Haganderalmost 13 years ago1 messagescomitters
Jump to latest
#1Magnus Hagander
magnus@hagander.net

Don't abort pg_basebackup when receiving empty WAL block

This is a similar fix as c6ec8793aa59d1842082e14b4b4aae7d4bd883fd
9.2. This should never happen in 9.3 and newer since the special case
cannot happen there, but this patch synchronizes up the code so there
is no confusion on why they're different. An empty block is as harmless
in 9.3 as it was in 9.2, and can safely be ignored.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8e41c621a625f154e96f40ce688a036520cb59aa

Modified Files
--------------
src/bin/pg_basebackup/receivelog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers