public inbox for [email protected]  
help / color / mirror / Atom feed
From: Arne Roland <[email protected]>
To: Jehan-Guillaume de Rorthais <[email protected]>
Cc: Christophe Courtois <[email protected]>
Cc: pgsql-hackers <[email protected]>
Subject: Re: Detaching a partition with a FK on itself is not possible
Date: Mon, 21 Mar 2022 10:50:46 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <20220321113634.68c09d4b@karst>
References: <[email protected]>
	<20220321113634.68c09d4b@karst>

From: Jehan-Guillaume de Rorthais <[email protected]>

Sent: Monday, March 21, 2022 11:36
Subject: Re: Detaching a partition with a FK on itself is not possible
 > I changed the list destination
Thanks

> Another solution could be to teach the create partition to detect a self
> referencing FK and actually create a self referencing FK, not pointing to the
> partitioned table, and of course issuing a NOTICE to the client.
That's what I meant. I didn't think about the NOTICE, but that's a good idea.

Regards
Arne



view thread (5+ messages)

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Detaching a partition with a FK on itself is not possible
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox