From e106a1ef9063471152e950cb73de75902660f3fe Mon Sep 17 00:00:00 2001 From: Alper Kocatas Date: Fri, 30 May 2025 11:05:23 +0000 Subject: [PATCH] Expand changelog entries to include 13.1-13.0 diffs --- CHANGELOG.md | 143 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 127 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7624596fe..a67fef847 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,16 @@ ## citus v13.1.0 (May 29th, 2025) ### -* Makes sure to prevent INSERT INTO ... SELECT queries involving subfield or - sublink, to avoid crashes (#7912) +* Adds `citus_nodes` view that displays the node name, port role, and "active" + for nodes in the cluster (#7968) -* Adds support for GRANT/REVOKE on table columns (#7918) +* Errors out for queries with outer joins and pseudoconstant quals in versions + prior to PG 17 (#7937) -* Fixes issues detected using address sanitizer (#7949, #7948) +* Refactors the `WrapSubquery(Query *subquery)` function to improve clarity and + correctness when handling volatile expressions in subqueries during Citus + insert-select rewriting (#7976) -* Adjusts max_prepared_transactions only when it's set to default on PG >= 16 - (#7712) - -* Fixes a bug that causes omitting CASCADE clause for the commands sent to - workers for REVOKE commands on tables (#7958) +* Propagates SECURITY LABEL on tables and columns (#7956) * Adds `citus_stat_counters` view that can be used to query stat counters that Citus collects while the feature is enabled, which is @@ -20,16 +19,128 @@ `citus_stat_counters_reset()` can be used to reset them for the provided database oid or for the current database if nothing or 0 is provided (#7917) -* Propagates `SECURITY LABEL` on tables and columns. (#7956) +* Fixes a bug that causes omitting `CASCADE` clause for the commands sent to + workers for `REVOKE` commands on tables (#7958) -* Planner: lifts volatile target‑list items in WrapSubquery to coordinator - (prevents sequence‑leap in distributed INSERT … SELECT) #7976 +* Adjusts `max_prepared_transactions` only when it's set to default on PG >= 16 + (#7712) -* Errors out for queries with outer joins and pseudoconstant quals in versions - prior to PG 17 (#7937) +* Fixes an issue detected using address sanitizer (#7948, #7949) -* Adds `citus_nodes` view that displays the node name, port, - role, and "active" for nodes in the cluster (#7985) +* Propagates `GRANT/REVOKE` rights on table columns (#7918) + +* Makes sure to prevent `INSERT INTO ... SELECT` queries involving subfield or + sublink, to avoid crashes (#7912) + +* Fixes a bug in deparsing of shard query in case of "output-table column" name + conflict (#7932) + +* Adds `citus_is_primary_node()` UDF to determine if the current node is a + primary node in the cluster (#7720) + +* Fixes a crash in columnar custom scan that happens when a columnar table is + used in a join (#7703) + +* Updates `tdigest_aggregate_support` output for PG15+ (#7849) + +* Fixes dereference of `NULL` in background task execution (#7694) + +* Checks for Citus table in `worker_copy_table_to_node` (#7662) + +* Fixes potential `NULL` dereference in casual clocks (#7704) + +* Supports MERGE command for `single_shard_distributed` Target (#7643) + +* Fixes merge command when insert value does not have source distributed column + (#7627) + +* Adds null check for node in `HasRangeTableRef` to prevent errors (#7609) + +* Fixes performance issue when using `\d tablename` on a server with many + tables (#7577) + +* Fixes performance issue in `GetForeignKeyOids` on systems with many constraints + (#7580) + +* Fixes performance issue when distributing a table that depends on an + extension (#7574) + +* Fixes performance issue when creating distributed tables if many already + exist (#7575) + +* Fixes a crash caused by some form of `ALTER TABLE ADD COLUMN` statements. When + adding multiple columns, if one of the `ADD COLUMN` statements contains a + `FOREIGN` constraint ommitting the referenced + columns in the statement, a `SEGFAULT` occurs (#7522) + +* Fixes assertion failure in maintenance daemon during Citus upgrades (#7537) + +* Changes the order in which the locks are acquired (for the target and + reference tables), when a modify request is initiated from a worker node that + is not the "FirstWorkerNode" (#7542) + +* Fixes segmentation fault when using `CASE WHEN` in `DO` block functions (#7554) + +* Fixes copy-paste error on `rightComparisonLimit`, which makes it use the same + value as the `leftComparisonLimit` (#7547) + +* Fixes undefined behavior in `master_disable_node` due to argument mismatch, + where `master_disable_node()` has only two arguments, but calls + `citus_disable_node()` that tries to read three arguments (#7492) + +* Fixes incorrect propagating of `GRANTED BY` and `CASCADE/RESTRICT` clauses + for `REVOKE` statements (#7451) + +* Moves some of the internal citus functions from `pg_catalog` to + `citus_internal` schema (#7473, #7470, #7466, 7456, 7450) + +* Creates directories and files with `pg_file_create_mode` and + `pg_dir_create_mode` permissions (#7479) + +* Logs username in the failed connection message (#7432) + +* Removes memory leaks (#7441, #7440) + +* Adds comment on database and role propagation (#7388) + +* Adds information to explain output when using + `citus.explain_distributed_queries=false` (#7412) + +* Fixes the incorrect column count after `ALTER TABLE` (#7379) + +* Fixes timeout when underlying socket is changed in a MultiConnection (#7377) + +* Adds support for issuing `CREATE`/`DROP` `DATABASE` commands from worker nodes + (#7359) + +* Adds `REASSIGN OWNED` BY propagation (#7319) + +* Adds database connection limit, rename and set tablespace propagation (#7253) + +* Allows `GRANT ADMIN` to now also be `INHERIT` or `SET` in support of psql16 + +* Adds support for propagating `CREATE`/`DROP` database (#7240) + +* Propagates `SECURITY LABEL ON ROLE` statement from any node (#7508) + +* Adds support from issuing role management commands from worker nodes (#7278) + +* Allows `citus_*_size` on index related to a distributed table (#7271) + +* Fixes leaking of memory and memory contexts in Foreign +Constraint Graphs (#7236) + +* Makes sure to take improvement_threshold into the account +in `citus_add_rebalance_strategy()` (#7247) + +* Adds alter user rename propagation and enriches alter user +tests (#7204) + +* Makes sure to disallow creating a replicated distributed +table concurrently (#7219) + +* Adds support for `ALTER DATABASE SET ..` statement +propagation (#7181) ### citus v13.0.3 (March 20th, 2025) ###