PostgreSQL Source Code  git master
controldata_utils.h
Go to the documentation of this file.
1 /*
2  * controldata_utils.h
3  * Common code for pg_controldata output
4  *
5  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
6  * Portions Copyright (c) 1994, Regents of the University of California
7  *
8  * src/include/common/controldata_utils.h
9  */
10 #ifndef COMMON_CONTROLDATA_UTILS_H
11 #define COMMON_CONTROLDATA_UTILS_H
12 
13 #include "catalog/pg_control.h"
14 
15 extern ControlFileData *get_controlfile(const char *DataDir, const char *progname, bool *crc_ok_p);
16 
17 #endif /* COMMON_CONTROLDATA_UTILS_H */
const char * progname
Definition: pg_standby.c:37
ControlFileData * get_controlfile(const char *DataDir, const char *progname, bool *crc_ok_p)
char * DataDir
Definition: globals.c:60