Repair memory leaks in plpython.
[pgsql.git] / src / include / postmaster / walwriter.h
blob9fc3c665774182fabcd235c453cb5d0d8514b4fa
1 /*-------------------------------------------------------------------------
3 * walwriter.h
4 * Exports from postmaster/walwriter.c.
6 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
8 * src/include/postmaster/walwriter.h
10 *-------------------------------------------------------------------------
12 #ifndef _WALWRITER_H
13 #define _WALWRITER_H
15 #define DEFAULT_WAL_WRITER_FLUSH_AFTER ((1024 * 1024) / XLOG_BLCKSZ)
17 /* GUC options */
18 extern PGDLLIMPORT int WalWriterDelay;
19 extern PGDLLIMPORT int WalWriterFlushAfter;
21 extern void WalWriterMain(char *startup_data, size_t startup_data_len) pg_attribute_noreturn();
23 #endif /* _WALWRITER_H */