| From: | hubert depesz lubaczewski <depesz(at)gmail(dot)com> |
|---|---|
| To: | Adrian Klaver <adrian(dot)klaver(at)aklaver(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 11:17:40 |
| Message-ID: | CAKrjmheBgqdhUmeNMymG=dJy=zgRT7PZ9Vj1VkNeMkBX0ND6=w@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Fri, Aug 22, 2014 at 8:33 PM, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
wrote:
> Not sure, just the combination of parallel operations and remote
> connections seemed to be an avenue to explore. Given that everything is
> local, turns out it was dead end.
> Looking at the pastebin log again, am I reading it right that the first
> process actually COMMITs properly?
> Also is there a trigger in the mix that might be fouling things up?
>
Please note that the pastebin log is split by backend pid, and only in
backend-pid groups sorted by timestamp.
66014 started transaction later, and committed, while 66017, which started
transaction earlier, and actually obtained lock earlier - got killed by
deadlock resolution.
There are no triggers aside from some (~10) fkeys.
depesz
| From | Date | Subject | |
|---|---|---|---|
| Next Message | hubert depesz lubaczewski | 2014-08-25 11:18:43 | Re: deadlock in single-row select-for-update + update scenario? How could it happen? |
| Previous Message | Soni M | 2014-08-25 11:17:28 | Re: Query planner question |