Re: Incorrect fsync handling in pg_basebackup's tar_finish - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Incorrect fsync handling in pg_basebackup's tar_finish
Date
Msg-id 20180625131729.GF1146@paquier.xyz
Whole thread Raw
In response to Re: Incorrect fsync handling in pg_basebackup's tar_finish  (Kuntal Ghosh <kuntalghosh.2007@gmail.com>)
Responses Re: Incorrect fsync handling in pg_basebackup's tar_finish
List pgsql-hackers
On Mon, Jun 25, 2018 at 05:48:54PM +0530, Kuntal Ghosh wrote:
> In the same note, in tar_close(), we fsync on close. We're not
> checking the status of fsync there. Should we introduce the same check
> there as well?

Yes, there is a second one.  I just looked at walmethods.c and I did not
spot any other issues.  What do you think about the updated version
attached?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Mark Dilger
Date:
Subject: Re: Auto-partitioning in PostgreSQL 10
Next
From: Gaurav Mishra
Date:
Subject: Regarding the correct and best way to fetching a tablename in contrib module