To handle extra "Result" lines in explain outputs, we add explain
methods to multi_test_helpers.sql file
- coordinator_plan() is updated to remove "Result" lines
- plan_without_result_lines() is added for cases where we want the
whole explain output with only "Result" lines removed
To handle differences in usage of GroupAggregate vs HashAggregate
in cases where this detail doesn't seem to matter, we use
coordinator_plan(). There are some cases where we have subplans
so we add a new function that prints all Task Count lines as well
- coordinator_plan_with_subplans()
* Add user-defined sequence support for MX
* Remove default part when propagating to workers
* Fix ALTER TABLE with sequences for mx tables
* Clean up and add tests
* Propagate DROP SEQUENCE
* Removing function parts
* Propagate ALTER SEQUENCE
* Change sequence type before propagation & cleanup
* Revert "Propagate ALTER SEQUENCE"
This reverts commit 2bef64c5a29f4e7224a7f43b43b88e0133c65159.
* Ensure sequence is not used in a different column with different type
* Insert select tests
* Propagate rename sequence stmt
* Fix issue with group ID cache invalidation
* Add ALTER TABLE ALTER COLUMN TYPE .. precaution
* Fix attnum inconsistency and add various tests
* Add ALTER SEQUENCE precaution
* Remove Citus hook
* More tests
Co-authored-by: Marco Slot <marco.slot@gmail.com>
This is so we don't need to calculate it twice in
insert_select_executor.c and multi_explain.c, which can
cause discrepancy if an update in one of them is not
reflected in the other site.