public inbox for [email protected]
help / color / mirror / Atom feedFrom: Arne Roland <[email protected]>
To: Christophe Courtois <[email protected]>
To: pgsql-bugs <[email protected]>
Subject: Re: Detaching a partition with a FK on itself is not possible
Date: Thu, 17 Mar 2022 17:58:04 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
Hi,
I don't think this a bug, but a feature request. I therefore think hackers would be more appropriate.
I don't see how an additional syntax to modify the constraint should help.
If I'd want to fix this, I'd try to teach the detach partition code about self referencing foreign keys. It seems to me like that would be the cleanest solution, because the user doesn't need to care about this at all.
I don't think, I'll spend time on this in the near future though.
Regards
Arne
view thread (5+ messages) latest in thread
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