mirror of
https://github.com/postgres/postgres.git
synced 2025-09-06 13:46:51 +03:00
pgindent run for 9.5
This commit is contained in:
@@ -341,11 +341,11 @@ ResetUnloggedRelationsInDbspaceDir(const char *dbspacedirname, int op)
|
||||
FreeDir(dbspace_dir);
|
||||
|
||||
/*
|
||||
* copy_file() above has already called pg_flush_data() on the
|
||||
* files it created. Now we need to fsync those files, because
|
||||
* a checkpoint won't do it for us while we're in recovery. We
|
||||
* do this in a separate pass to allow the kernel to perform
|
||||
* all the flushes (especially the metadata ones) at once.
|
||||
* copy_file() above has already called pg_flush_data() on the files
|
||||
* it created. Now we need to fsync those files, because a checkpoint
|
||||
* won't do it for us while we're in recovery. We do this in a
|
||||
* separate pass to allow the kernel to perform all the flushes
|
||||
* (especially the metadata ones) at once.
|
||||
*/
|
||||
dbspace_dir = AllocateDir(dbspacedirname);
|
||||
if (dbspace_dir == NULL)
|
||||
|
Reference in New Issue
Block a user