1 | /*------------------------------------------------------------------------- |
2 | * logicalfuncs.h |
3 | * PostgreSQL WAL to logical transformation support functions |
4 | * |
5 | * Copyright (c) 2012-2019, PostgreSQL Global Development Group |
6 | * |
7 | *------------------------------------------------------------------------- |
8 | */ |
9 | #ifndef LOGICALFUNCS_H |
10 | #define LOGICALFUNCS_H |
11 | |
12 | #include "replication/logical.h" |
13 | |
14 | extern int logical_read_local_xlog_page(XLogReaderState *state, |
15 | XLogRecPtr targetPagePtr, |
16 | int reqLen, XLogRecPtr targetRecPtr, |
17 | char *cur_page, TimeLineID *pageTLI); |
18 | |
19 | #endif |
20 | |