Add pg_constraint rows for not-null constraints

14e87ffa5c543b5f30ead7413084c25f7735039f
m3hm3t/pg18_partition_check
Mehmet Yilmaz 2025-08-18 13:18:29 +00:00
parent 3d9b572025
commit 65c22a8897
2 changed files with 2 additions and 1 deletions

1
citus-tools Submodule

@ -0,0 +1 @@
Subproject commit 3376bd6845f0614908ed304f5033bd644c82d3bf

View File

@ -269,7 +269,7 @@ SELECT create_distributed_table('check_example', 'partition_col', 'hash');
\c - - :public_worker_1_host :worker_1_port
SELECT "Column", "Type", "Definition" FROM index_attrs WHERE
relid = 'check_example_partition_col_key_365068'::regclass;
SELECT "Constraint", "Definition" FROM table_checks WHERE relid='public.check_example_365068'::regclass;
SELECT DISTINCT "Constraint", "Definition" FROM table_checks WHERE relid='public.check_example_365068'::regclass;
\c - - :master_host :master_port
-- Index-based constraints are created with shard-extended names, but others