Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit82e38ab

Browse files
committed
pg_controldata needs #define FRONTEND, same as pg_resetxlog.
Per buildfarm results from dawn_bat.
1 parent77acab7 commit82e38ab

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

‎src/bin/pg_controldata/pg_controldata.c

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,16 @@
66
* copyright (c) Oliver Elphick <olly@lfix.co.uk>, 2001;
77
* licence: BSD
88
*
9-
* $PostgreSQL: pgsql/src/bin/pg_controldata/pg_controldata.c,v 1.47 2010/04/2816:10:43 heikki Exp $
9+
* $PostgreSQL: pgsql/src/bin/pg_controldata/pg_controldata.c,v 1.48 2010/04/2817:35:35 tgl Exp $
1010
*/
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+
#defineFRONTEND 1
18+
1119
#include"postgres.h"
1220

1321
#include<unistd.h>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp