summaryrefslogtreecommitdiff
path: root/src/include/pgxc/xc_maintenance_mode.h
blob: 0d477788a2c32a41032a0365ad8d4a2f92acdd30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*-------------------------------------------------------------------------
 *
 * pgxc.h
 *		XC maintenance mode stuff
 *
 *
 * Portions Copyright (c) 1996-2011 PostgreSQL Global Development Group
 * Portions Copyright (c) 2010-2012 Postgres-XC Development Group
 *
 * src/include/pgxc/xc_maintenance_mode.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef XC_MAINTENANCE_MODE_H
#define XC_MAINTENANCE_MODE_H

#include <unistd.h>
#include "c.h"
#include "postgres.h"
#include "utils/guc.h"

extern bool xc_maintenance_mode;
extern GucContext	currentGucContext;

#endif /* XC_MAINTENANCE_MODE_H */