mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Free walmethods before exiting
Not strictly necessary since we quite after, but could become important in the future if we do restarts etc. Michael Paquier with nitpicking from me
This commit is contained in:
@@ -43,3 +43,7 @@ struct WalWriteMethod
|
||||
*/
|
||||
WalWriteMethod *CreateWalDirectoryMethod(const char *basedir, bool sync);
|
||||
WalWriteMethod *CreateWalTarMethod(const char *tarbase, int compression, bool sync);
|
||||
|
||||
/* Cleanup routines for previously-created methods */
|
||||
void FreeWalDirectoryMethod(void);
|
||||
void FreeWalTarMethod(void);
|
||||
|
||||
Reference in New Issue
Block a user