aboutsummaryrefslogtreecommitdiff
path: root/src/include/replication/logicalfuncs.h
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2020-03-17 18:18:01 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2020-03-17 18:18:01 -0300
commit5d0c2d5eba6b58b3c9955ee41c917f7df8b62746 (patch)
treec246021bf6e93f1e96891ba1a8bdaffdfeefbe76 /src/include/replication/logicalfuncs.h
parentbcd1c3630095e48bc3b1eb0fc8e8c8a7c851eba1 (diff)
downloadpostgresql-5d0c2d5eba6b58b3c9955ee41c917f7df8b62746.tar.gz
postgresql-5d0c2d5eba6b58b3c9955ee41c917f7df8b62746.zip
Remove logical_read_local_xlog_page
It devolved into a content-less wrapper over read_local_xlog_page, with nothing to add, plus it's easily confused with walsender's logical_read_xlog_page. There doesn't seem to be any reason for it to stay. src/include/replication/logicalfuncs.h becomes empty, so remove it too. The prototypes it initially had were absorbed by generated fmgrprotos.h. Discussion: https://postgr.es/m/20191115214102.GA15616@alvherre.pgsql
Diffstat (limited to 'src/include/replication/logicalfuncs.h')
-rw-r--r--src/include/replication/logicalfuncs.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/include/replication/logicalfuncs.h b/src/include/replication/logicalfuncs.h
deleted file mode 100644
index 67c3fa12d94..00000000000
--- a/src/include/replication/logicalfuncs.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/*-------------------------------------------------------------------------
- * logicalfuncs.h
- * PostgreSQL WAL to logical transformation support functions
- *
- * Copyright (c) 2012-2020, 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);
-
-#endif