Commit Graph

4 Commits (9cd5dc61c429cc863f70dc0d0244b0c8c5e18845)

Author SHA1 Message Date
Onur Tirtir 9cd5dc61c4 make flaky test detection job happy 2025-04-25 15:33:09 +03:00
Onur Tirtir b81655d61e fix 2025-04-25 14:51:11 +03:00
Tiago Silva e03d69f21f fixed regression testing 2025-04-21 22:08:20 -04:00
Cédric Villemain 1dc60e38bb
Propagates GRANT/REVOKE rights on table columns (#7918)
This commit adds support for GRANT/REVOKE on table columns.

It extends propagated DDL according to this logic:
https://github.com/citusdata/citus/tree/main/src/backend/distributed#ddl

* Unchanged pre-existing behavior related to splitting ddl per relation
during propagation.
* Changed the way ACL are checked in some cases (see
`EnsureTablePermissions()` and associated commits)
* Rewrite `pg_get_table_grants` to include column grants as well
* Add missing `pfree()` in `pg_get_table_grants()`

Fixes https://github.com/citusdata/citus/issues/7287
Also check a box in https://github.com/citusdata/citus/issues/4812
2025-04-04 11:54:16 +03:00