PostgreSQL Source Code  git master
walwriter.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * walwriter.h
4  * Exports from postmaster/walwriter.c.
5  *
6  * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
7  *
8  * src/include/postmaster/walwriter.h
9  *
10  *-------------------------------------------------------------------------
11  */
12 #ifndef _WALWRITER_H
13 #define _WALWRITER_H
14 
15 #define DEFAULT_WAL_WRITER_FLUSH_AFTER ((1024 * 1024) / XLOG_BLCKSZ)
16 
17 /* GUC options */
18 extern PGDLLIMPORT int WalWriterDelay;
20 
21 extern void WalWriterMain(char *startup_data, size_t startup_data_len) pg_attribute_noreturn();
22 
23 #endif /* _WALWRITER_H */
#define PGDLLIMPORT
Definition: c.h:1319
#define pg_attribute_noreturn()
Definition: c.h:220
PGDLLIMPORT int WalWriterDelay
Definition: walwriter.c:71
PGDLLIMPORT int WalWriterFlushAfter
Definition: walwriter.c:72
void WalWriterMain(char *startup_data, size_t startup_data_len) pg_attribute_noreturn()
Definition: walwriter.c:89