I have been googling for more than 2 hours, but I am really stuck with this one. I want PostgreSQL (I am using version 8.4 on Debian) to start logging slow queries only.
Should be:
log_destination = 'csvlog' logging_collector = on log_min_duration_statement = 1000 log_line_prefix = '%t %p %r %d %u '### more context log_statement = 'ddl' ### log schema changes