Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 878E612822D8 for ; Wed, 22 Feb 2012 16:16:56 -0400 (AST) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1S0IcQ-0005UG-Hi for pgsql-bugs@postgresql.org; Wed, 22 Feb 2012 20:16:55 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id q1MKGeJJ024068; Wed, 22 Feb 2012 15:16:41 -0500 (EST) To: dzolotarevskiy@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6482: Service terminates executing "With ... as ... UPDATE" query In-reply-to: References: Comments: In-reply-to dzolotarevskiy@gmail.com message dated "Wed, 22 Feb 2012 15:12:12 +0000" Date: Wed, 22 Feb 2012 15:16:40 -0500 Message-ID: <24067.1329941800@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201202/170 X-Sequence-Number: 32513 dzolotarevskiy@gmail.com writes: > All queries works fine when there is only one session. When Sessions more > then 20 it starts terminating with some probability. > On my production server it stops about 50 times per day. > On my dev pc, with testing utility that uses 50 sessions at one time, it > falls down in about 1 minute. > Investigating problem i have found the "fatal" query and excluding part by > part found out that new syntax produce that exception. I believe this is an already-known issue: http://archives.postgresql.org/pgsql-bugs/2012-01/msg00157.php It will be fixed in next week's update releases. regards, tom lane