Re: Logging conflicted queries on deadlocks

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Logging conflicted queries on deadlocks
Date: 2008-02-28 13:34:27
Message-ID: 20080228133427.GF4764@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

ITAGAKI Takahiro wrote:

> There are some open issues. One of the issues is that the killed query is
> logged by log_min_error_statement, but conflicted query is logged in DETAIL.
> Killed query is logged only on server but conflicted queries are
> sent to both server and client. In addition, if log_min_error_statement
> is less than ERROR level, only the conflicted queries are logged.
> -- it's inconsistent and unsymmetric.

Hm, your patches crashes for me when there are 3 sessions deadlocked.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jorgen Austvik - Sun Norway 2008-02-28 13:36:17 Re: Buildfarm member gypsy_moth seems not to like alignment patch
Previous Message Aaron Spiteri 2008-02-28 12:52:14 Silly Newbie question

Browse pgsql-patches by date

  From Date Subject
Next Message Robert Lor 2008-02-28 21:55:09 Re: DTrace probe patch for OS X Leopard
Previous Message Alvaro Herrera 2008-02-28 12:40:16 Re: Logging conflicted queries on deadlocks