mirror of
https://github.com/postgres/postgres.git
synced 2025-08-24 09:27:52 +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:
@@ -73,12 +73,4 @@ extern int gin_pending_list_limit;
|
||||
extern void ginGetStats(Relation index, GinStatsData *stats);
|
||||
extern void ginUpdateStats(Relation index, const GinStatsData *stats);
|
||||
|
||||
/* ginxlog.c */
|
||||
extern void gin_redo(XLogReaderState *record);
|
||||
extern void gin_desc(StringInfo buf, XLogReaderState *record);
|
||||
extern const char *gin_identify(uint8 info);
|
||||
extern void gin_xlog_startup(void);
|
||||
extern void gin_xlog_cleanup(void);
|
||||
extern void gin_mask(char *pagedata, BlockNumber blkno);
|
||||
|
||||
#endif /* GIN_H */
|
||||
|
Reference in New Issue
Block a user