Re: enabling OPTIMIZER_DEBUG - Mailing list pgsql-novice

From Luca Ferrari
Subject Re: enabling OPTIMIZER_DEBUG
Date
Msg-id CAKoxK+5YM2JCZ5mZkZGvvBu=7=GoPm6gCNYoVCqH_i-eee7oMw@mail.gmail.com
Whole thread Raw
In response to enabling OPTIMIZER_DEBUG  (Zhan Li <zhanli89@gmail.com>)
List pgsql-novice
On Sat, Nov 16, 2013 at 8:44 PM, Zhan Li <zhanli89@gmail.com> wrote:
> I want to use print_path() function in allpaths.c. I used --enable-debug
> when configure. But it's telling me that print_path is an undefined
> reference when I tried to build the source code. Is there anything else
> necessary except for --enable-debug flag to use print_path function?

--enable-debug will make debugging symbols available, not the
OPTIMIZER_DEBUG preprocessor variable set, so you should use something
like

configure CFLAGS="-DOPTIMIZER_DEBUG"

to build the source tree.

Hope this helps.

Luca


pgsql-novice by date:

Previous
From: Rohit Goyal
Date:
Subject: compile and test in netbeans
Next
From: Rohit Goyal
Date:
Subject: Request for information || Begining flow of postgresql