mirror of
https://github.com/postgres/postgres.git
synced 2025-08-22 21:53:06 +03:00
Split index xlog headers from other private index headers.
The xlog-specific headers need to be included in both frontend code - specifically, pg_waldump - and the backend, but the remainder of the private headers for each index are only needed by the backend. By splitting the xlog stuff out into separate headers, pg_waldump pulls in fewer backend headers, which is a good thing. Patch by me, reviewed by Michael Paquier and Andres Freund, per a complaint from Dilip Kumar. Discussion: http://postgr.es/m/CA+TgmoZ=F=GkxV0YEv-A8tb+AEGy_Qa7GSiJ8deBKFATnzfEug@mail.gmail.com
This commit is contained in:
@@ -214,12 +214,4 @@ extern IndexBulkDeleteResult *spgvacuumcleanup(IndexVacuumInfo *info,
|
||||
/* spgvalidate.c */
|
||||
extern bool spgvalidate(Oid opclassoid);
|
||||
|
||||
/* spgxlog.c */
|
||||
extern void spg_redo(XLogReaderState *record);
|
||||
extern void spg_desc(StringInfo buf, XLogReaderState *record);
|
||||
extern const char *spg_identify(uint8 info);
|
||||
extern void spg_xlog_startup(void);
|
||||
extern void spg_xlog_cleanup(void);
|
||||
extern void spg_mask(char *pagedata, BlockNumber blkno);
|
||||
|
||||
#endif /* SPGIST_H */
|
||||
|
Reference in New Issue
Block a user