File tree Expand file tree Collapse file tree 6 files changed +29
-9
lines changed Expand file tree Collapse file tree 6 files changed +29
-9
lines changed Original file line number Diff line number Diff line change 1919#include "postgres.h"
2020
2121#include "access/hash.h"
22+ #include "access/hash_xlog.h"
2223#include "access/relscan.h"
2324#include "catalog/index.h"
2425#include "commands/vacuum.h"
Original file line number Diff line number Diff line change 1414 */
1515#include "postgres.h"
1616
17- #include "access/hash .h"
17+ #include "access/hash_xlog .h"
1818
1919void
2020hash_desc (StringInfo buf , XLogReaderState * record )
Original file line number Diff line number Diff line change 1212#include "access/gin.h"
1313#include "access/gist_private.h"
1414#include "access/generic_xlog.h"
15- #include "access/hash .h"
15+ #include "access/hash_xlog .h"
1616#include "access/heapam_xlog.h"
1717#include "access/brin_xlog.h"
1818#include "access/multixact.h"
Original file line number Diff line number Diff line change 1414#include "access/generic_xlog.h"
1515#include "access/gin.h"
1616#include "access/gist_private.h"
17- #include "access/hash .h"
17+ #include "access/hash_xlog .h"
1818#include "access/heapam_xlog.h"
1919#include "access/multixact.h"
2020#include "access/nbtree.h"
Original file line number Diff line number Diff line change 2020#include "access/amapi.h"
2121#include "access/itup.h"
2222#include "access/sdir.h"
23- #include "access/xlogreader.h"
2423#include "fmgr.h"
2524#include "lib/stringinfo.h"
2625#include "storage/bufmgr.h"
@@ -365,9 +364,4 @@ extern bool _hash_convert_tuple(Relation index,
365364extern OffsetNumber _hash_binsearch (Page page , uint32 hash_value );
366365extern OffsetNumber _hash_binsearch_last (Page page , uint32 hash_value );
367366
368- /* hash.c */
369- extern void hash_redo (XLogReaderState * record );
370- extern void hash_desc (StringInfo buf , XLogReaderState * record );
371- extern const char * hash_identify (uint8 info );
372-
373367#endif /* HASH_H */
Original file line number Diff line number Diff line change 1+ /*-------------------------------------------------------------------------
2+ *
3+ * hash_xlog.h
4+ * header file for Postgres hash AM implementation
5+ *
6+ *
7+ * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
8+ * Portions Copyright (c) 1994, Regents of the University of California
9+ *
10+ * src/include/access/hash_xlog.h
11+ *
12+ *-------------------------------------------------------------------------
13+ */
14+ #ifndef HASH_XLOG_H
15+ #define HASH_XLOG_H
16+
17+ #include "access/hash.h"
18+ #include "access/xlogreader.h"
19+
20+
21+ extern void hash_redo (XLogReaderState * record );
22+ extern void hash_desc (StringInfo buf , XLogReaderState * record );
23+ extern const char * hash_identify (uint8 info );
24+
25+ #endif /* HASH_XLOG_H */
You can’t perform that action at this time.
0 commit comments