Skip site navigation (1) Skip section navigation (2)

Re: initdb and fsync

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: Jeff Davis <pgsql(at)j-davis(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: initdb and fsync
Date: 2012-01-28 15:31:57
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

On 01/27/2012 11:52 PM, Noah Misch wrote:
>> Is a platform-independent fsync be available at initdb time?
> Not sure.

It's a macro on Windows that calls _commit(fd), so it should be portable 

I'm curious what problem we're actually solving here, though. I've run 
the buildfarm countless thousands of times on different VMs, and five of 
my seven current animals run in VMs, and I don't think I've ever seen a 
failure ascribable to inadequately synced files from initdb.



In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2012-01-28 18:10:39
Subject: Re: pg_dump -s dumps data?!
Previous:From: Bruce MomjianDate: 2012-01-28 14:55:04
Subject: Re: Inlining comparators as a performance optimisation

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group