mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Pre-beta2 mechanical code beautification.
Run pgindent and pgperltidy. It seems we're still some ways away from all committers doing this automatically. Now that we have a buildfarm animal that will whine about poorly-indented code, we'll try to keep the tree more tidy. Discussion: https://postgr.es/m/3156045.1687208823@sss.pgh.pa.us
This commit is contained in:
@ -415,7 +415,7 @@ pg_fsync(int fd)
|
||||
int
|
||||
pg_fsync_no_writethrough(int fd)
|
||||
{
|
||||
int rc;
|
||||
int rc;
|
||||
|
||||
if (!enableFsync)
|
||||
return 0;
|
||||
@ -456,7 +456,7 @@ pg_fsync_writethrough(int fd)
|
||||
int
|
||||
pg_fdatasync(int fd)
|
||||
{
|
||||
int rc;
|
||||
int rc;
|
||||
|
||||
if (!enableFsync)
|
||||
return 0;
|
||||
@ -500,6 +500,7 @@ pg_flush_data(int fd, off_t offset, off_t nbytes)
|
||||
return;
|
||||
|
||||
retry:
|
||||
|
||||
/*
|
||||
* sync_file_range(SYNC_FILE_RANGE_WRITE), currently linux specific,
|
||||
* tells the OS that writeback for the specified blocks should be
|
||||
|
Reference in New Issue
Block a user