Commit Graph

4 Commits (b81655d61e61e0ea96b3e283722c089e362a57b4)

Author SHA1 Message Date
Onur Tirtir b81655d61e fix 2025-04-25 14:51:11 +03:00
Tiago Silva b233b0a2a6 updated expected files 2025-04-24 11:58:35 -04: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