Re: Mutable foreign key constraints - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Mutable foreign key constraints
Date
Msg-id 263959.1726325509@sss.pgh.pa.us
Whole thread Raw
In response to Re: Mutable foreign key constraints  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 2024-09-12 Th 5:33 PM, Tom Lane wrote:
>> I'm inclined to propose rejecting FK constraints if the comparison
>> operator is not immutable.

> Isn't there an upgrade hazard here? People won't thank us if they can't 
> now upgrade their clusters. If we can get around that then +1.

Yeah, they would have to fix the bad DDL before upgrading.  It'd
be polite of us to add a pg_upgrade precheck for such cases,
perhaps.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: meson vs windows perl
Next
From: Junwang Zhao
Date:
Subject: Re: why there is not VACUUM FULL CONCURRENTLY?