]> granicus.if.org Git - postgresql/commit
libpq++ Makefile uses -DDEBUG to turn on debugging trace to
authorBruce Momjian <bruce@momjian.us>
Thu, 16 Mar 2000 15:34:36 +0000 (15:34 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 16 Mar 2000 15:34:36 +0000 (15:34 +0000)
commit3e4708c45cc0c550cca2f089193b0510b3c448f5
treed635d7ce5e94046fe58692a1b5e4749b1f1d91f5
parent1f3122e26d594ffbb873b9b6de239f9879987c59
libpq++ Makefile uses -DDEBUG to turn on debugging trace to
/tmp/trace.out.
However, elog.h uses DEBUG as a log-level flag.  As a result, tracing is
turned on even if the libpq++.so is built with DEBUG commented out in
the Makefile.

This patch changes libpq++ to use DEBUGFILE instead (which is not
defined anywhere else).

Oliver Elphick
src/interfaces/libpq++/Makefile.in
src/interfaces/libpq++/pgconnection.cc