Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YRLvw-0003Oj-QY for pgsql-bugs@arkaria.postgresql.org; Fri, 27 Feb 2015 14:30:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YRLvw-00061C-98 for pgsql-bugs@arkaria.postgresql.org; Fri, 27 Feb 2015 14:30:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YRLvu-0005zJ-Nn for pgsql-bugs@postgresql.org; Fri, 27 Feb 2015 14:30:26 +0000 Received: from correo.teltronic.es ([93.92.233.233] helo=teltronic.es) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YRLvq-0005fe-Qt for pgsql-bugs@postgresql.org; Fri, 27 Feb 2015 14:30:25 +0000 Received: from RMELENDOW7 (unknown [192.168.9.71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by correo.teltronic.es (Postfix) with ESMTP id 6BFC53FD438; Fri, 27 Feb 2015 15:30:20 +0100 (CET) From: "Ruth Melendo" To: "'Andres Freund'" Cc: References: <20150226162925.2547.93027@wrigleys.postgresql.org> <20150227142428.GS24199@awork2.anarazel.de> In-Reply-To: <20150227142428.GS24199@awork2.anarazel.de> Subject: Re: BUG #12808: BDR lock adding Postgis extension in one node Date: Fri, 27 Feb 2015 15:30:20 +0100 Message-ID: <004901d05299$ea34d7f0$be9e87d0$@teltronic.es> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHwHtzq5Z4La7fjOnRcWX2TQMCOPAJcTYionLIS9rA= Content-Language: es X-Pg-Spam-Score: -1.9 (-) 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 error got when adding a PostGIS extension from PGAdmin in node 1. Exten= sion was created and the depending table too but in node 2 got the error wh= en adding the extension because the depending table was not created.=20 But, although the problem was originated for this, my main dude is how to f= ix the database then it=C2=B4s locked. What do I have to do? Because now, I= cannot do any DDL or DML against it. Ruth Patricia Melendo Ventura Software Engineer TELTRONIC, S.A.U. T: +34 976 465656 Ext. 179 F: +34 976 465722=20 www.teltronic.es -----Mensaje original----- De: Andres Freund [mailto:andres@2ndquadrant.com]=20 Enviado el: viernes, 27 de febrero de 2015 15:24 Para: rmelendo@teltronic.es CC: pgsql-bugs@postgresql.org Asunto: Re: [BUGS] BUG #12808: BDR lock adding Postgis extension in one node Hi, On 2015-02-26 16:29:25 +0000, rmelendo@teltronic.es wrote: > Using BDR with 2 nodes and trying to add a PostGIS extension in node=20 > 1, it adds the extension and automatically adds =E2=80=9Cspatial_ref_sys= =E2=80=9D. >=20 > In node2, it tries to add the extension and gets an error because=20 > table =E2=80=9Cspatial_ref_sys=E2=80=9D does not exists. The bbdd gets lo= cked after that. (this isn't the best forum for this, but I don't really know what to recomm= end besides -general) What's the exact error message? Does it out because of the extension or bec= ause of inserts into that table? Which version of bdr does this happen with? Because I seem to recall fixing= a similar problem... If not, we'll look into the issue. Greetings, Andres Freund --=20 Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs