change loging level to debug1 in postgresql.conf, it will log statements.you don't have to reboot postgres for that - just reload it (either pg_ctlreload - as opstgres user, or /etc/init.d/postgres reload).