The restore of a pg_dump, also used by pg_upgrade, will fail if these requirements are not met; schema changes must be made for these upgrade methods to succeed.
</para>
</listitem>
<!--
<!--
Author: Peter Eisentraut <peter@eisentraut.org>
Author: Peter Eisentraut <peter@eisentraut.org>
2025-01-11 [ca87c415e] Add support for NOT ENFORCED in CHECK constraints
2025-01-11 [ca87c415e] Add support for NOT ENFORCED in CHECK constraints
@ -1567,42 +1550,46 @@ This also adds column pg_constraint.conenforced.
</listitem>
</listitem>
<!--
<!--
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Author: Peter Eisentraut <peter@eisentraut.org>
2025-04-07 [a379061a2] Allow NOT NULL constraints to be added as NOT VALID
2024-11-15 [9321d2fdf] Fix collation handling for foreign keys
-->
-->
<listitem>
<listitem>
<para>
<para>
Allow ALTER TABLE to set the NOT VALID attribute of NOT NULL constraints (Rushabh Lathia, Jian He)
Require primary/foreign key relationships to use either deterministic collations or the the same nondeterministic collations (Peter Eisentraut)
The restore of a pg_dump, also used by pg_upgrade, will fail if these requirements are not met; schema changes must be made for these upgrade methods to succeed.
</para>
</para>
</listitem>
</listitem>
<!--
<!--
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
2025-01-23 [b663b9436] Allow NOT VALID foreign key constraints on partitioned t
2024-11-08 [14e87ffa5] Add pg_constraint rows for not-null constraints
-->
-->
<listitem>
<listitem>
<para>
<para>
Allow NOT VALID foreign key constraints on partitioned tables (Amul Sul)
Store column NOT NULL specifications in pg_constraint (Álvaro Herrera, Bernd Helmle)
This allows names to be specified for NOT NULL constraint. This also adds NOT NULL constraints to foreign tables and NOT NULL inheritance control to local tables.
</para>
</para>
</listitem>
</listitem>
<!--
<!--
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
2024-09-30 [4dea33ce7] Don't disallow DROP of constraints ONLY on partitioned t
2025-04-07 [a379061a2] Allow NOT NULL constraints to be added as NOT VALID
-->
-->
<listitem>
<listitem>
<para>
<para>
Allow dropping of constraints ONLY on partitioned tables (Álvaro Herrera)
Allow ALTER TABLE to set the NOT VALID attribute of NOT NULL constraints (Rushabh Lathia, Jian He)
2024-09-30 [4dea33ce7] Don't disallow DROP of constraints ONLY on partitioned t
-->
<listitem>
<para>
<para>
This allows names to be specified for NOT NULL constraint. This also adds NOT NULL constraints to foreign tables and NOT NULL inheritance control to local tables.
Allow dropping of constraints ONLY on partitioned tables (Álvaro Herrera)