Manolo _ wrote:
>
> I'm trying to compile PG on Ubuntu in order to hack tuplesort.c code
> I just downloaded and unpacked the source code and red README and INSTALL files.
>
> I'm going to
>
> ./configure --enable-debug --enable-cassert --enable-depend
>
> then I would
>
> make
> make install
> Can I improve something adding some missing option/command to the above steps?
Maybe you would want to change -O2 to -O0 in CFLAGS so that debugging is
easier (you will eventually need it).
> Where and how to apply the TRACE_SORT option?
Use pg_config_manual.h.
--
Alvaro Herrera http://www.amazon.com/gp/registry/DXLWNGRJD34J
"Si quieres ser creativo, aprende el arte de perder el tiempo"