> How will I enable command string to see the commands?
in your postgresql.conf set stats_command_string = true
readhttp://stream.boxwatch.ru/docs/8.2/interactive/monitoring-stats.html fordetails