On Wed, 2010-10-20 at 14:44 -0400, Dimi Paun wrote:
> Folks,
> is there a way I can log all SQL statements to a file, together with the
> time it took to execute them?
>
> --
> Dimi Paun <dimi@xxxxxxxxxxx>
> Lattica, Inc.
This is controlled by settings in the postgresql.conf file.
see the appropriate doc page vv for your version
http://www.postgresql.org/docs/8.2/static/runtime-config-logging.html