summaryrefslogtreecommitdiff
path: root/src/tutorial/funcs_new.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2013-11-11 14:34:06 +0100
committerMagnus Hagander <magnus@hagander.net>2013-11-11 14:34:06 +0100
commitc6ec8793aa59d1842082e14b4b4aae7d4bd883fd (patch)
treed2f98ae7caed52df21d65e28390190c81516e696 /src/tutorial/funcs_new.c
parent9a45a655977266c5367d658bab8384d8d4c77127 (diff)
Don't abort pg_basebackup when receiving empty WAL block
This can happen exactly at the switch of a logical WAL file (segment number ending in FE), when running pg_basebackup connected to a standby server, and would cause the backup to abort with the error message "streaming header too small". There is nothing wrong with an empty message, it's just unnecessary, and the rest of the code can handle the case of an empty message, so this patch just removes the error condition when the size is exactly zero.
Diffstat (limited to 'src/tutorial/funcs_new.c')
0 files changed, 0 insertions, 0 deletions