mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-14 02:17:02 +08:00
Gen_fmgrtab.pl creates a new file fmgrprotos.h, which contains prototypes for all functions registered in pg_proc.h. This avoids having to manually maintain these prototypes across a random variety of header files. It also automatically enforces a correct function signature, and since there are warnings about missing prototypes, it will detect functions that are defined but not registered in pg_proc.h (or otherwise used). Reviewed-by: Pavel Stehule <pavel.stehule@gmail.com>
20 lines
587 B
C
20 lines
587 B
C
/*-------------------------------------------------------------------------
|
|
* logicalfuncs.h
|
|
* PostgreSQL WAL to logical transformation support functions
|
|
*
|
|
* Copyright (c) 2012-2017, 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);
|
|
|
|
#endif
|