aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/xlogreader.h
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2019-09-03 17:41:43 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2019-09-03 17:41:43 -0400
commit25dcc9d35dfeb027047ebaea9b27cda1eaa9b393 (patch)
tree81624fb8c2e14c3663917751178f41192f1970af /src/include/access/xlogreader.h
parentfe66125974c58cc749ba441ff53e72216c819da0 (diff)
downloadpostgresql-25dcc9d35dfeb027047ebaea9b27cda1eaa9b393.tar.gz
postgresql-25dcc9d35dfeb027047ebaea9b27cda1eaa9b393.zip
Make XLogReaderInvalReadState static
This function is only used by xlogreader.c itself, so there's no need to export it. It was introduced by commit 3b02ea4f0780 with the apparent intention that it could be used externally, but I couldn't find any external code calling it. I (Álvaro) couldn't resist the urge to sort nearby function prototypes properly while at it. Author: Antonin Houska Discussion: https://postgr.es/m/14984.1554998742@spoje.net
Diffstat (limited to 'src/include/access/xlogreader.h')
-rw-r--r--src/include/access/xlogreader.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/access/xlogreader.h b/src/include/access/xlogreader.h
index aa9bc637259..735b1bd2fd6 100644
--- a/src/include/access/xlogreader.h
+++ b/src/include/access/xlogreader.h
@@ -216,13 +216,9 @@ extern struct XLogRecord *XLogReadRecord(XLogReaderState *state,
extern bool XLogReaderValidatePageHeader(XLogReaderState *state,
XLogRecPtr recptr, char *phdr);
-/* Invalidate read state */
-extern void XLogReaderInvalReadState(XLogReaderState *state);
-
#ifdef FRONTEND
extern XLogRecPtr XLogFindNextRecord(XLogReaderState *state, XLogRecPtr RecPtr);
#endif /* FRONTEND */
-
/* Functions for decoding an XLogRecord */
extern bool DecodeXLogRecord(XLogReaderState *state, XLogRecord *record,