Don't rename .partial files in pg_receivexlog if an error occured

Magnus Hagander <magnus@hagander.net>

Commit: 3ea56fffd66fe2c5857f36359ae16d4cabcdeef6
Author: Magnus Hagander <magnus@hagander.net>
Date: 2016-12-27T09:37:11Z
Releases: 10.0
Don't rename .partial files in pg_receivexlog if an error occured

In 56c7d8d the behavior to keep .partial segments around
(considered corrupt) in case an connection failure occurs was
accidentally removed. This would lead to an incomplete segment
being considered complete.

Author: Michael Paquier

Files

PathChange+/−
src/bin/pg_basebackup/receivelog.c modified +1 −1