check out
http://www.postgresql.org/docs/8.0/static/runtime-config.html
there are a couple of logging parameters.... which can log almost everything u want :)
Regards
Himanshu
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com