Carmen Gloria Sepulveda Dedes <csepulveda(at)atichile(dot)com> writes:> but, "current_query" is null. Why?
Most likely, you haven't enabled gathering of command line statistics.See postgresql.conf.
regards, tom lane