From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Sean Gong <sean.gong@ebayta.com>
Cc: odo@odoo.com, pgsql-bugs@postgresql.org, 许建龙 <jl.xu@oscg.biz>
Subject: Re: Serialization failures on PQ9.5
Date: Wed, 7 Sep 2016 12:58:55 -0300
Message-ID: <20160907155855.GA113269@alvherre.pgsql> (raw)
In-Reply-To: <41C74740-A321-4F3B-93EA-1BB9115B3C3A@ebayta.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Sean Gong wrote:
> Hello,
>
> I’m Sean Gong and we are a Odoo 9.0 enterprise version user.
>
> I saw your thread (BUG #13681) on https://www.postgresql.org/message-id/flat/20151014164844.3019.25750%40wrigleys.postgresql.org#20151... <https://www.postgresql.org/message-id/flat/20151014164844.3019.25750@wrigleys.postgresql.org#2015101...;.
>
> Now, we are facing the same issue using 9.0e-20160504 with psql 9.5.4.
> We are getting ERROR: could not serialize access due to concurrent update
> When executing 2 same sql at same time:
> UPDATE "stock_quant" SET "qty"=10.0,"write_uid"=1,"write_date"=(now() at time zone 'UTC') WHERE id IN (271941)
>
> Just want to know, is there any final solution for this bug? Has it been fixed on 9.5.4 or not?
9.5.4 was tagged on August and the fix was pushed on 15th July, so 9.5.4
should definitely not exhibit the same problem.
Note that you can receive the "could not serialize access ..." error
message for other cases, so it's not necessarily a bug that you are
getting it.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@2ndquadrant.com, sean.gong@ebayta.com, jl.xu@oscg.biz
Subject: Re: Serialization failures on PQ9.5
In-Reply-To: <20160907155855.GA113269@alvherre.pgsql>
References: <41C74740-A321-4F3B-93EA-1BB9115B3C3A@ebayta.com> <20160907155855.GA113269@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox