Michael,

> I just found in the postgres config:
> #log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
>                # and their durations, in milliseconds.
>
> Looks like that should be enough for a query log. Would I still need
> log_statement=all,

No.

> or is =ddl enough?

DDL is for schema changes, like ALTER TABLE.  That doesnt' do you any good 
for this.

-- 
--Josh

Josh Berkus
PostgreSQL @ Sun
San Francisco
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to