PostgreSQL Source Code  git master
pageinspect.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * pageinspect.h
4  * Common functions for pageinspect.
5  *
6  * Copyright (c) 2017-2024, PostgreSQL Global Development Group
7  *
8  * IDENTIFICATION
9  * contrib/pageinspect/pageinspect.h
10  *
11  *-------------------------------------------------------------------------
12  */
13 #ifndef _PAGEINSPECT_H_
14 #define _PAGEINSPECT_H_
15 
16 #include "storage/bufpage.h"
17 
18 /*
19  * Extension version number, for supporting older extension versions' objects
20  */
22 {
25 };
26 
27 /* in rawpage.c */
28 extern Page get_page_from_raw(bytea *raw_page);
29 
30 #endif /* _PAGEINSPECT_H_ */
Pointer Page
Definition: bufpage.h:78
Page get_page_from_raw(bytea *raw_page)
Definition: rawpage.c:215
pageinspect_version
Definition: pageinspect.h:22
@ PAGEINSPECT_V1_9
Definition: pageinspect.h:24
@ PAGEINSPECT_V1_8
Definition: pageinspect.h:23
Definition: c.h:687