Minor bug affecting ON CONFLICT lock wait log messages

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Minor bug affecting ON CONFLICT lock wait log messages
Date: 2016-03-07 21:46:29
Message-ID: CAM3SWZSs-hb9NTYO_B=ifArqBXHoLBnaStmBZCeC_THJHWTuoA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Attached patch fixes a bug reported privately by Stephen this morning.
He complained about deadlocking ON CONFLICT DO NOTHING statements.
There were no exclusion constraints involved, and yet they were
incorrectly indicated as being involved in log messages that related
to these deadlocks.

--
Peter Geoghegan

Attachment Content-Type Size
0001-Avoid-incorrectly-indicating-exclusion-constraint-wa.patch text/x-patch 1.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Artur Zakirov 2016-03-07 21:46:52 Re: unexpected result from to_tsvector
Previous Message Josh berkus 2016-03-07 21:43:51 New competition from Microsoft?