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 62533d3 commit 5c9c08dCopy full SHA for 5c9c08d
src/bin/pg_resetxlog/pg_resetxlog.c
@@ -23,10 +23,18 @@
23
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
24
* Portions Copyright (c) 1994, Regents of the University of California
25
*
26
- * $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.68 2008/09/24 09:00:44 mha Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.69 2008/11/14 21:45:07 tgl Exp $
27
28
*-------------------------------------------------------------------------
29
*/
30
+
31
+/*
32
+ * We have to use postgres.h not postgres_fe.h here, because there's so much
33
+ * backend-only stuff in the XLOG include files we need. But we need a
34
+ * frontend-ish environment otherwise. Hence this ugly hack.
35
+ */
36
+#define FRONTEND 1
37
38
#include "postgres.h"
39
40
#include <dirent.h>
0 commit comments