pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ruth Melendo <rmelendo@teltronic.es>
To: 'Andres Freund' <andres@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
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> (raw)
In-Reply-To: <20150227142428.GS24199@awork2.anarazel.de>
References: <20150226162925.2547.93027@wrigleys.postgresql.org>
	<20150227142428.GS24199@awork2.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The error got when adding a PostGIS extension from PGAdmin in node 1. Extension was created and the depending table too but in node 2 got the error when adding the extension because the depending table was not created. 

But, although the problem was originated for this, my main dude is how to fix the database then it´s 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 
www.teltronic.es


-----Mensaje original-----
De: Andres Freund [mailto:andres@2ndquadrant.com] 
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 
> 1, it adds the extension and automatically adds “spatial_ref_sys”.
> 
> In node2, it tries to add the extension and gets an error because 
> table “spatial_ref_sys” does not exists. The bbdd gets locked after that.

(this isn't the best forum for this, but I don't really know what to recommend besides -general)

What's the exact error message? Does it out because of the extension or because 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

-- 
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, 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



view thread (5+ messages)  latest in thread

Message-ID: <004901d05299$ea34d7f0$be9e87d0$@teltronic.es>
Permalink:  ../004901d05299$ea34d7f0$be9e87d0$@teltronic.es/
Also on:    postgresql.org/message-id/004901d05299$ea34d7f0$be9e87d0$@teltronic.es

 · 

reply

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: rmelendo@teltronic.es, andres@2ndquadrant.com
  Subject: Re: BUG #12808: BDR lock adding Postgis extension in one node
  In-Reply-To: <004901d05299$ea34d7f0$be9e87d0$@teltronic.es>
  References: <20150226162925.2547.93027@wrigleys.postgresql.org> <20150227142428.GS24199@awork2.anarazel.de> <004901d05299$ea34d7f0$be9e87d0$@teltronic.es>

* 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