Re: disabling log_min_duration_statement from pg_dump?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: disabling log_min_duration_statement from pg_dump?
Date: 2010-03-08 21:25:31
Message-ID: 23207.1268083531@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec> writes:
> can we add a parameter in pg_dump and pg_dumpall to disable
> log_min_duration_statement?

export PGOPTIONS="-c log_min_duration_statement=-1"

Or use ALTER USER SET to add that to the options for the account
you do pg_dump with; etc etc.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2010-03-08 22:01:41 Re: disabling log_min_duration_statement from pg_dump?
Previous Message Tom Lane 2010-03-08 21:17:17 Re: SQL compatibility reminder: MySQL vs PostgreSQL