pgsql: Don't rename .partial files in pg_receivexlog if an error occure

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't rename .partial files in pg_receivexlog if an error occure
Date: 2016-12-27 09:40:51
Message-ID: E1cLoFX-00020y-Re@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3ea56fffd66fe2c5857f36359ae16d4cabcdeef6

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

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2016-12-27 16:30:18 pgsql: Explain unaccounted for space in pgstattuple.
Previous Message Magnus Hagander 2016-12-27 09:25:25 pgsql: Fix typo comments