initdb and fsync - Mailing list pgsql-hackers

From Jeff Davis
Subject initdb and fsync
Date
Msg-id 1327709981.9123.11.camel@sussancws0025
Whole thread Raw
Responses Re: initdb and fsync
List pgsql-hackers
It looks like initdb doesn't fsync all the files it creates, e.g. the
PG_VERSION file.

While it's unlikely that it would cause any real data loss, it can be
inconvenient in some testing scenarios involving VMs.

Thoughts? Would a patch to add a few fsync calls to initdb be accepted?
Is a platform-independent fsync be available at initdb time?

Regards,   Jeff Davis



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: foreign key locks, 2nd attempt
Next
From: Jeff Janes
Date:
Subject: Re: CLOG contention, part 2