Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnCha-0004a1-O9 for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Aug 2017 23:47:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dnCha-0004F5-50 for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Aug 2017 23:47:18 +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_2) (envelope-from ) id 1dnCgs-0002y9-Uc for pgsql-bugs@postgresql.org; Wed, 30 Aug 2017 23:46:35 +0000 Received: from mail-wr0-x235.google.com ([2a00:1450:400c:c0c::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dnCgp-00044q-GV for pgsql-bugs@postgresql.org; Wed, 30 Aug 2017 23:46:34 +0000 Received: by mail-wr0-x235.google.com with SMTP id j29so21328192wre.2 for ; Wed, 30 Aug 2017 16:46:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=m9dV94qxXj/30UdTZvHuvg4fQw6K70GX8cUIMgVDljo=; b=w++ZamPuIssE+pLLAVc0756tVpHuycT3Dv/Gc8FtzTeywuR7c4ir08hfH7e2tP5ALK TlQb5zZc91AXdmJk2sN9oEzK2Qm+mVyxI4Vga/yZiMDWC0R4ykDIVsV87OMeXkAhrG38 9IkygBD8Cz3k55hrWXPzgK4RdT/0Vge+YQVu0IrhoDtGNrGh/VhqiM+89/7v2FGzjc7V qcEQrKBuEUBltK5JYbbq4LSYJfSgoPhB0zIjv9+EUkNTw/awDBdeF4pcLBvpmmX1w6+A veth4MXxTYQ52rgwt6v9pz78GrrxiA0mLDamCjAPyiJfRQysJs6P5FbN3n5dXQshlKEK jMZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=m9dV94qxXj/30UdTZvHuvg4fQw6K70GX8cUIMgVDljo=; b=ps57JTIPjijJkzVXzoIyO+91AuUT7o7AajvLgfTlPiYnuRLASTJt4xf2ZQnB0YHHML ZEszBoJ2C2X0JvCL1LyomT0eua24vnr+0uczAXIb3pKu7bLvVRbR6uPclqSSIXWpQOLu UCStuSqSwRtyf+XzeIxlMe+3yXUTm8qYCnFfrCd2VOB7QfQrdWC02zQS96zjR84DUIxX K2OTm1m083dDZ4ihihKkY98y1Mw8yRWhqcvQjYqOOpy17B0LZikhCgSDNBwDReX8jmBf 9kfyHbZOh2NoLH8gxu7hplMszO1MgGyCpwgRL46Q72G3l78XSpeLj+ApHp7W4LDA51tF wNrQ== X-Gm-Message-State: AHYfb5itpOr3cBKmp9cbtWuenVC85NhvHb2eQTdrH//eGk5juvPY2AAr RtG0c8O3ifZCTWxz X-Received: by 10.223.128.226 with SMTP id 89mr1784751wrl.95.1504136790807; Wed, 30 Aug 2017 16:46:30 -0700 (PDT) Received: from alvin.alvh.no-ip.org (dynamic-adsl-94-34-246-125.clienti.tiscali.it. [94.34.246.125]) by smtp.gmail.com with ESMTPSA id n50sm11787331wrb.37.2017.08.30.16.46.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Aug 2017 16:46:30 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 9635F7BE; Thu, 31 Aug 2017 01:46:28 +0200 (CEST) Date: Thu, 31 Aug 2017 01:46:28 +0200 From: Alvaro Herrera To: jfblazquez.ayesa@gmail.com Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14791: Error 42P07 but the relation DOESN'T Exists! Error 42P01 Message-ID: <20170830234628.5ar7na2v7g6nrva5@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170830154553.1708.34801@wrigleys.postgresql.org> User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) 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 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