diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-03-07 09:56:53 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-03-07 09:56:53 +0200 |
commit | baabf05196922164db80bdc45fd0660c8700f1f7 (patch) | |
tree | dec2c18f62cf6edcfefd78026ca16cc42f113a22 /src | |
parent | 05d93c38a791836eeceaf8edb0ea8cb19cdf2760 (diff) | |
download | postgresql-baabf05196922164db80bdc45fd0660c8700f1f7.tar.gz postgresql-baabf05196922164db80bdc45fd0660c8700f1f7.zip |
Silence compiler warning about undefined function when compiling without
assertions.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/replication/syncrep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/replication/syncrep.c b/src/backend/replication/syncrep.c index be5f055d8ec..f6c3538650d 100644 --- a/src/backend/replication/syncrep.c +++ b/src/backend/replication/syncrep.c @@ -71,7 +71,9 @@ static bool announce_next_takeover = true; static void SyncRepQueueInsert(void); static int SyncRepGetStandbyPriority(void); +#ifdef USE_ASSERT_CHECKING static bool SyncRepQueueIsOrderedByLSN(void); +#endif /* * =========================================================== |