diff options
Diffstat (limited to 'src/include/commands/wait.h')
-rw-r--r-- | src/include/commands/wait.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/include/commands/wait.h b/src/include/commands/wait.h new file mode 100644 index 00000000000..2a95c95d2b7 --- /dev/null +++ b/src/include/commands/wait.h @@ -0,0 +1,26 @@ +/*------------------------------------------------------------------------- + * + * wait.h + * prototypes for commands/wait.c + * + * Copyright (c) 2020, PostgreSQL Global Development Group + * + * src/include/commands/wait.h + * + *------------------------------------------------------------------------- + */ +#ifndef WAIT_H +#define WAIT_H + +#include "tcop/dest.h" +#include "nodes/parsenodes.h" + +extern bool WaitLSNUtility(XLogRecPtr lsn, const int timeout_ms); +extern Size WaitLSNShmemSize(void); +extern void WaitLSNShmemInit(void); +extern void WaitLSNSetLatch(XLogRecPtr cur_lsn); +extern XLogRecPtr WaitLSNGetMin(void); +extern int WaitLSNMain(WaitClause *stmt, DestReceiver *dest); +extern void WaitLSNDelete(void); + +#endif /* WAIT_H */ |