Hi, I created v5 patch. Please find attached the patch.
This patch updated following items; - Changed "else if" to "if" in traceLog_fprintf(). This means that both PQtrace() and new trace log are set, you can get both log result. - Implemented loglevel with enum. This change makes it easier if you want to add new log levels. - Checked http://commitfest.cputube.org/, I modified the code slightly. I would appreciate if you could review my latest patch. Regards, Aya Iwata
v5-0001-libpq-trace-log.patch
Description: v5-0001-libpq-trace-log.patch