Skip to content

Commit

Permalink
Suppress compiler warning.
Browse files Browse the repository at this point in the history
This warning was reported when pg_cheat_funcs was compiled with
PostgreSQL 9.2 or before.
  • Loading branch information
MasaoFujii committed Aug 23, 2016
1 parent 15d8b74 commit 2e9e767
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pg_cheat_funcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,9 @@ pg_checkpoint(PG_FUNCTION_ARGS)
Datum
pg_promote(PG_FUNCTION_ARGS)
{
#if PG_VERSION_NUM >= 90300
bool fast = PG_GETARG_BOOL(0);
#endif

#define PROMOTE_SIGNAL_FILE "promote"
#define FALLBACK_PROMOTE_SIGNAL_FILE "fallback_promote"
Expand Down

0 comments on commit 2e9e767

Please sign in to comment.