mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Post-PG 10 beta1 pgindent run
perltidy run not included.
This commit is contained in:
@@ -17,7 +17,7 @@ typedef enum
|
||||
CLOSE_NORMAL,
|
||||
CLOSE_UNLINK,
|
||||
CLOSE_NO_RENAME
|
||||
} WalCloseMethod;
|
||||
} WalCloseMethod;
|
||||
|
||||
/*
|
||||
* A WalWriteMethod structure represents the different methods used
|
||||
@@ -38,7 +38,7 @@ struct WalWriteMethod
|
||||
* automatically renamed in close(). If pad_to_size is specified, the file
|
||||
* will be padded with NUL up to that size, if supported by the Walmethod.
|
||||
*/
|
||||
Walfile(*open_for_write) (const char *pathname, const char *temp_suffix, size_t pad_to_size);
|
||||
Walfile (*open_for_write) (const char *pathname, const char *temp_suffix, size_t pad_to_size);
|
||||
|
||||
/*
|
||||
* Close an open Walfile, using one or more methods for handling automatic
|
||||
@@ -86,9 +86,9 @@ struct WalWriteMethod
|
||||
* not all those required for pg_receivewal)
|
||||
*/
|
||||
WalWriteMethod *CreateWalDirectoryMethod(const char *basedir,
|
||||
int compression, bool sync);
|
||||
int compression, bool sync);
|
||||
WalWriteMethod *CreateWalTarMethod(const char *tarbase, int compression, bool sync);
|
||||
|
||||
/* Cleanup routines for previously-created methods */
|
||||
void FreeWalDirectoryMethod(void);
|
||||
void FreeWalTarMethod(void);
|
||||
void FreeWalDirectoryMethod(void);
|
||||
void FreeWalTarMethod(void);
|
||||
|
||||
Reference in New Issue
Block a user