mirror of
https://github.com/postgres/postgres.git
synced 2026-02-15 08:37:56 -05:00
24 lines
844 B
C
24 lines
844 B
C
/*-------------------------------------------------------------------------
|
|
* logicalfuncs.h
|
|
* PostgreSQL WAL to logical transformation support functions
|
|
*
|
|
* Copyright (c) 2012-2015, PostgreSQL Global Development Group
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef LOGICALFUNCS_H
|
|
#define LOGICALFUNCS_H
|
|
|
|
#include "replication/logical.h"
|
|
|
|
extern int logical_read_local_xlog_page(XLogReaderState *state,
|
|
XLogRecPtr targetPagePtr,
|
|
int reqLen, XLogRecPtr targetRecPtr,
|
|
char *cur_page, TimeLineID *pageTLI);
|
|
|
|
extern Datum pg_logical_slot_get_changes(PG_FUNCTION_ARGS);
|
|
extern Datum pg_logical_slot_get_binary_changes(PG_FUNCTION_ARGS);
|
|
extern Datum pg_logical_slot_peek_changes(PG_FUNCTION_ARGS);
|
|
extern Datum pg_logical_slot_peek_binary_changes(PG_FUNCTION_ARGS);
|
|
|
|
#endif
|