On Tuesday, December 27, 2022, PG Bug reporting form <
noreply@postgresql.org> wrote:
The following bug has been logged on the website:
Bug reference: 17732
Logged by: Artem
Email address: artem.voropaev@hotmail.com
PostgreSQL version: 13.9
Operating system: Debian
Description:
Hi team! We faced an error using pg_restore on our database. We have
database tables like this one:
Is there any solution for this specific problem?
Unbreak the source system by converting the check constraint into a trigger. Check constraints, as documented, must be immutable. Unfortunately the system doesn’t warn you when you’ve violated this rule upfront.
David J.