postgresql/src
Álvaro Herrera b663b9436e
Allow NOT VALID foreign key constraints on partitioned tables
This feature was intentionally omitted when FKs were first implemented
for partitioned tables, and had been requested a few times; the
usefulness is clear.

Validation can happen for each partition individually, which is useful
to contain the number of locks held and the duration; or it can be
executed for the partitioning hierarchy as a single command, which
validates all child constraints that haven't been validated already.

This is also useful to implement NOT ENFORCED constraints on top.

Author: Amul Sul <sulamul@gmail.com>
Discussion: https://postgr.es/m/CAAJ_b96Bp=-ZwihPPtuaNX=SrZ0U6ZsXD3+fgARO0JuKa8v2jQ@mail.gmail.com
2025-01-23 15:54:38 +01:00
..
backend Allow NOT VALID foreign key constraints on partitioned tables 2025-01-23 15:54:38 +01:00
bin Fix buildfarm failure introduced by commit e65dbc9927. 2025-01-23 17:47:15 +05:30
common Be clearer about when jsonapi's need_escapes is needed 2025-01-19 09:09:58 -05:00
fe_utils Drop warning-free support for Flex 2.5.35 2025-01-15 15:35:08 +01:00
include Convert macros to static inline functions (htup_details.h, itup.h) 2025-01-23 12:12:08 +01:00
interfaces Add OLD/NEW support to RETURNING in DML queries. 2025-01-16 14:57:35 +00:00
makefiles Update copyright for 2025 2025-01-01 11:21:55 -05:00
pl Repair memory leaks in plpython. 2025-01-11 11:45:56 -05:00
port Convert libpgport's pqsignal() to a void function. 2025-01-16 16:41:05 -06:00
template thread-safety: gmtime_r(), localtime_r() 2024-08-23 07:43:04 +02:00
test Allow NOT VALID foreign key constraints on partitioned tables 2025-01-23 15:54:38 +01:00
timezone Update time zone data files to tzdata release 2025a. 2025-01-20 16:49:15 -05:00
tools Change publication's publish_generated_columns option type to enum. 2025-01-23 15:28:37 +05:30
tutorial Doc: simplify the tutorial's window-function examples. 2025-01-21 14:43:21 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Drop warning-free support for Flex 2.5.35 2025-01-15 15:35:08 +01:00
Makefile.shlib Remove AIX support 2024-02-28 15:17:23 +04:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00