Re: deep debug log for psql

2019-11-21 Thread Adrian Klaver
On 11/20/19 11:12 PM, Matthias Apitz wrote: Hello, We found and use for ESQL/C the debug feature: ECPGdebug(int on, FILE *stream); with very good results. Is there something similar for the psql interpreter to debug the query of complex SQL statements like this monster here: SELECT ha.hn

deep debug log for psql

2019-11-20 Thread Matthias Apitz
Hello, We found and use for ESQL/C the debug feature: ECPGdebug(int on, FILE *stream); with very good results. Is there something similar for the psql interpreter to debug the query of complex SQL statements like this monster here: SELECT ha.hnr, count(*) FROM acq_haushalt ha, acq_booking