pgsql: Fix pg_get_constraintdef for NOT NULL constraints on domains

2024-11-27 Thread Álvaro Herrera
Fix pg_get_constraintdef for NOT NULL constraints on domains We added pg_constraint rows for all not-null constraints, first for tables and later for domains; but while the ones for tables were reverted, the ones for domains were not. However, we did accidentally revert ruleutils.c support for th

pgsql: Fix pg_get_constraintdef for NOT NULL constraints on domains

2024-11-27 Thread Álvaro Herrera
Fix pg_get_constraintdef for NOT NULL constraints on domains We added pg_constraint rows for all not-null constraints, first for tables and later for domains; but while the ones for tables were reverted, the ones for domains were not. However, we did accidentally revert ruleutils.c support for th