1
0
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:
Magnus Hagander
2016-10-23 18:04:34 +02:00
parent a5c17c1dce
commit eade082b12
3 changed files with 9 additions and 9 deletions

View File

@@ -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);
};