From: | Luca Ferrari <fluca1978(at)infinito(dot)it> |
---|---|
To: | Zhan Li <zhanli89(at)gmail(dot)com> |
Cc: | "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: enabling OPTIMIZER_DEBUG |
Date: | 2013-11-18 09:52:52 |
Message-ID: | CAKoxK+5YM2JCZ5mZkZGvvBu=7=GoPm6gCNYoVCqH_i-eee7oMw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On Sat, Nov 16, 2013 at 8:44 PM, Zhan Li <zhanli89(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Rohit Goyal | 2013-11-18 22:49:37 | Request for information || Begining flow of postgresql |
Previous Message | Rohit Goyal | 2013-11-17 18:08:40 | compile and test in netbeans |