pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: harry@harryclarke.me.uk
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15451: Error adding foriegn key constraint
Date: Mon, 22 Oct 2018 12:12:07 -0700
Message-ID: <20181022191207.w7l5a3fuquswvbl7@alap3.anarazel.de> (raw)
In-Reply-To: <15451-d33ba98cab3afa91@postgresql.org>
References: <15451-d33ba98cab3afa91@postgresql.org>

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




view thread (3+ messages)  latest in thread

Message-ID: <20181022191207.w7l5a3fuquswvbl7@alap3.anarazel.de>
Permalink:  ../20181022191207.w7l5a3fuquswvbl7@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20181022191207.w7l5a3fuquswvbl7@alap3.anarazel.de

 · 

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: andres@anarazel.de, harry@harryclarke.me.uk
  Subject: Re: BUG #15451: Error adding foriegn key constraint
  In-Reply-To: <20181022191207.w7l5a3fuquswvbl7@alap3.anarazel.de>
  References: <15451-d33ba98cab3afa91@postgresql.org> <20181022191207.w7l5a3fuquswvbl7@alap3.anarazel.de>

* 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