From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | hubert depesz lubaczewski <depesz(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: deadlock in single-row select-for-update + update scenario? How could it happen? |
Date: | 2014-08-25 13:52:14 |
Message-ID: | 53FB3F8E.7000704@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 08/25/2014 04:18 AM, hubert depesz lubaczewski wrote:
> On Fri, Aug 22, 2014 at 9:21 PM, Alvaro Herrera
> <alvherre(at)2ndquadrant(dot)com <mailto:alvherre(at)2ndquadrant(dot)com>> wrote:
>
> FWIW this problem was reported also by Andrew Sackville-West at
> http://www.postgresql.org/message-id/20140731233051.GN17765@andrew-ThinkPad-X230
> I strongly suspect now that the problem is related to the locking of
> updated versions as heap_lock_tuple_updated, and perhaps the internal
> locking done by EvalPlanQual. Haven't traced through it.
>
>
> Is there anything I could tell the developer to do (he's on Mac) so he
> could provide more information?
I would say to confirm the bug report Alvaro mentioned it would be good
to try the importer script against non-9.3 instances of Postgres to see
if the same thing happens. Also interesting to note that in the bug
report thread mention is made of a large number of FKs on a table.
>
> depesz
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Emanuel Calvo | 2014-08-25 14:20:45 | Re: Constraint exclusion on tables partitioned over range types |
Previous Message | Adrian Klaver | 2014-08-25 13:42:18 | Re: how to query against nested hstore data type |