File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 23
23
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
24
24
* Portions Copyright (c) 1994, Regents of the University of California
25
25
*
26
- * $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.68 2008/09/24 09:00:44 mha Exp $
26
+ * $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.69 2008/11/14 21:45:07 tgl Exp $
27
27
*
28
28
*-------------------------------------------------------------------------
29
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
+
30
38
#include "postgres.h"
31
39
32
40
#include <dirent.h>
You can’t perform that action at this time.
0 commit comments