|
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 | +#defineFRONTEND 1 |
| 37 | + |
30 | 38 | #include"postgres.h"
|
31 | 39 |
|
32 | 40 | #include<dirent.h>
|
|