Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gEffx-0006Up-F5 for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Oct 2018 19:15:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gEffw-0001MI-95 for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Oct 2018 19:15:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gEfcl-00084r-5Q for pgsql-bugs@lists.postgresql.org; Mon, 22 Oct 2018 19:12:24 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gEfcf-0000CE-Ve for pgsql-bugs@lists.postgresql.org; Mon, 22 Oct 2018 19:12:21 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 471CEC80; Mon, 22 Oct 2018 15:12:16 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 22 Oct 2018 15:12:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=lje/mdiPxlugcvNNV8myApfSzMp 4uqn6A43qGVDh70Q=; b=jKrJMY6DAoW9+M3cLFKP5bmdIWG4NpJtWDKF7Uw1v4V G/6T2wVe8k5zDbL0LX2fTcORzifrD1RwUoUyEBiR2hag40DaLqleIM6HscDaKgnc Ugqzx75KfwteHGEKalcPD0ms76tFjUCY0+A7ddXIVMZ+rVV7UPAQugb6F7WZvxev rT62u6zNQrlEXs/E7XEde6/IUzNyd98WOlf1S/SrbeKHQekRMcNNrHSX8hpov0ak L5x478NAZkZQ98yh0pMRDViAwLG6tpPEcfcIF+IqZB9F/CCkyR8N7Oh0+BuHpE87 aSiOVVClW/k8emMqtS9jxmNx+R+m6DyTy43RoLPlqqQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=lje/md iPxlugcvNNV8myApfSzMp4uqn6A43qGVDh70Q=; b=i1WVAaC97ePKfwV1+2pQVL syzv5QooxOiLPBla77PEGycArc0egFNKEygOsD9lqAHUXkODjEoaM3lAQBXVPNIV lxYtTACmQvzjC0u9kdEGL06Ft8ycTT1N4EK4hkwcTx1Rd2LB53S7AvnrUy5tn75I 3arsaTlsssnhVbQHtoxqUSzuE4/LIJnJwuwaeRrJsjGR+HzJuXscVGIa4mqBkMDZ JuCTk3stN32QHEFsBAfLd3o9I5sGy24T2kW/yXLqP44NtvfY60KaMnY84Ckc9y+q x0cLcv9cEyiaWu8lWN9j9oU42IN/JVk2Me0iZkDLpBQdYJ48Udgnh8quEvmv+H0Q == X-ME-Sender: X-ME-Proxy: Received: from intern.anarazel.de (unknown [12.130.117.192]) by mail.messagingengine.com (Postfix) with ESMTPA id C6683102A0; Mon, 22 Oct 2018 15:12:14 -0400 (EDT) Date: Mon, 22 Oct 2018 12:12:07 -0700 From: Andres Freund To: harry@harryclarke.me.uk, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15451: Error adding foriegn key constraint Message-ID: <20181022191207.w7l5a3fuquswvbl7@alap3.anarazel.de> References: <15451-d33ba98cab3afa91@postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15451-d33ba98cab3afa91@postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-10-22 19:05:51 +0000, PG Bug reporting form wrote: > The following bug has been logged on the website: > > Bug reference: 15451 > Logged by: Harry Clarke > Email address: harry@harryclarke.me.uk > PostgreSQL version: 10.5 > Operating system: Windows Server 2008 R2 standard > Description: > > When trying to create a table, or to add a foreign key constraint to a > table, an error (see below) is produced. However, both tables are permanent > tables, and there are no temporary tables that I am aware of. > > ERROR: constraints on permanent tables may reference only permanent tables Note that unlogged tables are also considered not permanent. Is that it? Greetings, Andres Freund