BUG #5878: BTREE_BUILD_STATS causes 'make check' to fail

From: "Jan-Peter Seifert" <Jan-Peter(dot)Seifert(at)gmx(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5878: BTREE_BUILD_STATS causes 'make check' to fail
Date: 2011-02-10 12:56:53
Message-ID: 201102101256.p1ACurU7089757@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5878
Logged by: Jan-Peter Seifert
Email address: Jan-Peter(dot)Seifert(at)gmx(dot)de
PostgreSQL version: 8.4.7
Operating system: Ubuntu 10.04 LTS
Description: BTREE_BUILD_STATS causes 'make check' to fail
Details:

Hello,

I experimented a bit with compiling PostgreSQL with debug macros.
I set up a Makefile.custom with the following contents:
CFLAGS+=-DLOCK_DEBUG
CFLAGS+=-DBTREE_BUILD_STATS
CFLAGS+=-DWAL_DEBUG

However, as long as I have BTREE_BUILD_STATS defined, 'make check' fails on
me with the following message:
...
btree.c: In function ‘btbuild’:
nbtree.c:100: error: ‘log_btree_build_stats’ undeclared (first use in
this function)
nbtree.c:100: error: (Each undeclared identifier is reported only once
nbtree.c:100: error: for each function it appears in.)
nbtree.c:101: warning: implicit declaration of function ‘ResetUsage’
nbtree.c:146: warning: implicit declaration of function ‘ShowUsage’
...
Without this macro the server seems to install nicely.
Am I just doing something wrongly - I'm not really familiar with gcc?

Thank you very much,

Peter

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin Grittner 2011-02-10 19:37:29 Re: BUG #5877: problem with wild char used in where clause
Previous Message Savita 2011-02-10 11:02:40 BUG #5877: problem with wild char used in where clause