mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Rename walmethod fsync method to sync
Using the name fsync clashed with the #define we have on Windows that redefines it to _commit. Naming it sync should remove that conflict. Per all the Windows buildfarm members
This commit is contained in:
@@ -29,7 +29,7 @@ struct WalWriteMethod
|
||||
|
||||
ssize_t (*write) (Walfile f, const void *buf, size_t count);
|
||||
off_t (*get_current_pos) (Walfile f);
|
||||
int (*fsync) (Walfile f);
|
||||
int (*sync) (Walfile f);
|
||||
bool (*finish) (void);
|
||||
char *(*getlasterror) (void);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user