pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: jfblazquez.ayesa@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14791: Error 42P07 but the relation DOESN'T Exists! Error 42P01
Date: Thu, 31 Aug 2017 01:46:28 +0200
Message-ID: <20170830234628.5ar7na2v7g6nrva5@alvherre.pgsql> (raw)
In-Reply-To: <20170830154553.1708.34801@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

jfblazquez.ayesa@gmail.com wrote:

> I was creating tables using scripts via pgAdmin when it suddenly crashed
> while creating a table: "scada_equipment_instance"
> 
> After restarting pgAdmin and psql service, I can't create or use
> "scada_equipment_instance" table anymore. It says:
> 
> ERROR: la relación «scada_equipment_instance» ya existe
> SQL state: 42P07

[Translation: relation "scada_equipment_instance" already exists]

Juan Francisco followed up to the moderator address to indicate that he
found the problem -- there's a constraint that uses the same name as the
table, causing the error.

Case closed.

-- 
Álvaro Herrera                https://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



view thread (3+ messages)

Message-ID: <20170830234628.5ar7na2v7g6nrva5@alvherre.pgsql>
Permalink:  ../20170830234628.5ar7na2v7g6nrva5@alvherre.pgsql/
Also on:    postgresql.org/message-id/20170830234628.5ar7na2v7g6nrva5@alvherre.pgsql

 · 

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: alvherre@2ndquadrant.com, jfblazquez.ayesa@gmail.com
  Subject: Re: BUG #14791: Error 42P07 but the relation DOESN'T Exists! Error 42P01
  In-Reply-To: <20170830234628.5ar7na2v7g6nrva5@alvherre.pgsql>
  References: <20170830154553.1708.34801@wrigleys.postgresql.org> <20170830234628.5ar7na2v7g6nrva5@alvherre.pgsql>

* 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