Re: [HACKERS] Deadlock with pg_dump? - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] Deadlock with pg_dump?
Date
Msg-id 15421.1172861492@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Deadlock with pg_dump?  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [HACKERS] Deadlock with pg_dump?  (Bruce Momjian <bruce@momjian.us>)
List pgsql-patches
Bruce Momjian <bruce@momjian.us> writes:
> Are people going to be happy that log_statement and
> log_min_duration_statement output the statement twice?

If those are the only cases you're worried about, a far simpler solution
is to clear debug_query_string before instead of after emitting those
log messages.

            regards, tom lane

pgsql-patches by date:

Previous
From: Gregory Stark
Date:
Subject: Re: A little COPY speedup
Next
From: Tom Lane
Date:
Subject: Re: A little COPY speedup