Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77acab7 commit 82e38abCopy full SHA for 82e38ab
src/bin/pg_controldata/pg_controldata.c
@@ -6,8 +6,16 @@
6
* copyright (c) Oliver Elphick <[email protected]>, 2001;
7
* licence: BSD
8
*
9
- * $PostgreSQL: pgsql/src/bin/pg_controldata/pg_controldata.c,v 1.47 2010/04/28 16:10:43 heikki Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_controldata/pg_controldata.c,v 1.48 2010/04/28 17:35:35 tgl Exp $
10
*/
11
+
12
+/*
13
+ * We have to use postgres.h not postgres_fe.h here, because there's so much
14
+ * backend-only stuff in the XLOG include files we need. But we need a
15
+ * frontend-ish environment otherwise. Hence this ugly hack.
16
+ */
17
+#define FRONTEND 1
18
19
#include "postgres.h"
20
21
#include <unistd.h>
0 commit comments