aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/variable.c
diff options
context:
space:
mode:
authorÁlvaro Herrera <alvherre@alvh.no-ip.org>2025-01-16 16:44:24 +0100
committerÁlvaro Herrera <alvherre@alvh.no-ip.org>2025-01-16 16:44:24 +0100
commit86374c9a0e304520044ab8b2cb84849c7db4a9fa (patch)
tree2b9679eb31eb0bf7c1aa92d2f9e8ca87501d596b /src/backend/commands/variable.c
parent80feb727c869cc0b2e12bd1543bafa449be9c8e2 (diff)
downloadpostgresql-86374c9a0e304520044ab8b2cb84849c7db4a9fa.tar.gz
postgresql-86374c9a0e304520044ab8b2cb84849c7db4a9fa.zip
Split ATExecValidateConstraint into reusable pieces
With this, we have separate functions to add validation requests to ALTER TABLE's phase 3 queue for check and foreign key constraints, which allows reusing them in future commits -- particularly this will allow us to perform validation of invalid foreign key constraints in partitioned tables. We could have let the check constraint code alone since we don't need to reuse that for anything at this point, but it seems cleaner and more consistent to do both at the same time. Author: Amul Sul <sulamul@gmail.com> Discussion: https://postgr.es/m/CAAJ_b96Bp=-ZwihPPtuaNX=SrZ0U6ZsXD3+fgARO0JuKa8v2jQ@mail.gmail.com
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions