mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
Initial pgindent and pgperltidy run for v14.
Also "make reformat-dat-files". The only change worthy of note is that pgindent messed up the formatting of launcher.c's struct LogicalRepWorkerId, which led me to notice that that struct wasn't used at all anymore, so I just took it out.
This commit is contained in:
@@ -3288,7 +3288,7 @@ looks_like_temp_rel_name(const char *name)
|
||||
static void
|
||||
do_syncfs(const char *path)
|
||||
{
|
||||
int fd;
|
||||
int fd;
|
||||
|
||||
fd = OpenTransientFile(path, O_RDONLY);
|
||||
if (fd < 0)
|
||||
@@ -3394,7 +3394,7 @@ SyncDataDirectory(void)
|
||||
do_syncfs("pg_wal");
|
||||
return;
|
||||
}
|
||||
#endif /* !HAVE_SYNCFS */
|
||||
#endif /* !HAVE_SYNCFS */
|
||||
|
||||
/*
|
||||
* If possible, hint to the kernel that we're soon going to fsync the data
|
||||
|
Reference in New Issue
Block a user