Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAewA-0006bp-Ao for pgsql-bugs@arkaria.postgresql.org; Thu, 02 Jul 2015 13:53:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZAew9-0006sC-Mb for pgsql-bugs@arkaria.postgresql.org; Thu, 02 Jul 2015 13:53:57 +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) (envelope-from ) id 1ZAbzQ-0002m8-Gn for pgsql-bugs@postgresql.org; Thu, 02 Jul 2015 10:45:08 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZAbzL-0005bB-RD for pgsql-bugs@postgresql.org; Thu, 02 Jul 2015 10:45:07 +0000 MIME-Version: 1.0 Subject: BUG #13480: RE: #11732 and also possibly #12538 - Possible serializable isolation lepessimistic locking problem To: pgsql-bugs@postgresql.org From: joao.antunes@tagus.ist.utl.pt Date: Thu, 02 Jul 2015 10:44:59 +0000 Message-ID: <20150702104459.3872.59117@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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 The following bug has been logged on the website: Bug reference: 13480 Logged by: João Antunes Email address: joao.antunes@tagus.ist.utl.pt PostgreSQL version: 9.3.5 Operating system: Mac OS X Description: Hi Guys! I think I might have hit problems with bug #11732, which can also be related with #12538 - although a communication problem might have happened there. Sorry for writing like a new email, but it's hard to contribute to a given thread if you don't have a bug tracking system, IMO this kinda hinders this contribution process a bit. so, Any news on #11732 or #12538, are those closed? Rafael Faria: The reply to your question was basicly: please double check if you're not doing anything wrong - did you? were you? - In Portuguese - Rafael Faria: A resposta que teve a sua pergunta/bug report foi basicamente: por favor confirme que o erro não está na implementação do seu lado, havia alguma coisa que estavam a fazer mal? conseguiu resolver o problema? Regarding #11732 the bug is still open, right? can you confirm that in versions < 9.1 this doesn't happen? In my case I have a stack of JPA and ORM in the way, but if they are doing what they should, I think I hit #11732 - for a quicker check on this, I might go back to a version before 9.1 in case you guys tell me that bug #11732 is non repeatable with a downgrade of postgres version, just to actually check if this is a problem (i.e. it is the quickest way, if it doesn't happen anymore, then probably it's that). Unfortunately for pragmatism sake I am now considering using optimistic locking for this (although it does bring probably unnecessary complexity on the implementation side) So, there Is there any 'SELECT * FROM pg_stat_activity' that also discloses the connection's transaction isolation level? according to this: http://stackoverflow.com/questions/28175364/how-can-i-query-the-transaction-isolation-level-of-an-existing-postgres-s I would have to go through the logs, after enabling a more verbose way, but this might be error prone becase AFAIK I would have to be looking for the ommission of setting the transaction's isolation level. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs