Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhfGM-0000Bz-Sy for pgsql-bugs@arkaria.postgresql.org; Wed, 07 Sep 2016 15:59:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bhfGM-0001BN-A0 for pgsql-bugs@arkaria.postgresql.org; Wed, 07 Sep 2016 15:59:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bhfGL-0001B0-Md for pgsql-bugs@postgresql.org; Wed, 07 Sep 2016 15:59:45 +0000 Received: from smtprelay0149.b.hostedemail.com ([64.98.42.149] helo=smtprelay.b.hostedemail.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bhfGI-0003kV-5b for pgsql-bugs@postgresql.org; Wed, 07 Sep 2016 15:59:45 +0000 Received: from filter.hostedemail.com (10.5.19.248.rfc1918.com [10.5.19.248]) by smtprelay05.b.hostedemail.com (Postfix) with ESMTP id E96B132B0D4; Wed, 7 Sep 2016 15:58:58 +0000 (UTC) X-Session-Marker: 616C76686572726540616C76682E6E6F2D69702E6F7267 X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,alvherre@alvh.no-ip.org,:::::::,RULES_HIT:41:152:355:379:599:960:967:973:988:989:1260:1263:1277:1311:1312:1313:1314:1345:1359:1437:1515:1516:1518:1519:1534:1541:1593:1594:1595:1596:1711:1730:1747:1777:1792:2393:2525:2553:2565:2682:2685:2859:2895:2901:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3352:3865:3867:3868:3870:3871:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:4470:4605:4659:5007:6117:6119:6238:6261:7860:7903:8700:9025:9121:10004:10400:10848:11232:11256:11257:11473:11658:11914:12043:12555:12700:12737:13069:13095:13180:13181:13229:13311:13357:13894:13895:14180:14181:14721:14764:21080:21433:21451:30051:30054:30055:30070:30080:30090,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: fold64_888a134b4842e X-Filterd-Recvd-Size: 2134 Received: from alvin.alvh.no-ip.org (unknown [216.155.90.98]) (Authenticated sender: alvherre@alvh.no-ip.org) by omf07.b.hostedemail.com (Postfix) with ESMTPA; Wed, 7 Sep 2016 15:58:58 +0000 (UTC) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 39ADEA38; Wed, 7 Sep 2016 12:58:55 -0300 (CLST) Date: Wed, 7 Sep 2016 12:58:55 -0300 From: Alvaro Herrera To: Sean Gong Cc: odo@odoo.com, pgsql-bugs@postgresql.org, =?utf-8?B?6K645bu66b6Z?= Subject: Re: Serialization failures on PQ9.5 Message-ID: <20160907155855.GA113269@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <41C74740-A321-4F3B-93EA-1BB9115B3C3A@ebayta.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -0.4 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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#20151014164844.3019.25750@wrigleys.postgresql.org . > > 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