citus/src
Naisila Puka efd2492a3e PG16 - Don't propagate GRANT ROLE with INHERIT/SET option (#7190)
We currently don't support propagating these options in Citus
Relevant PG commits:
https://github.com/postgres/postgres/commit/e3ce2de
https://github.com/postgres/postgres/commit/3d14e17

Limitation:
We also need to take care of generated GRANT statements by dependencies
in attempt to distribute something else. Specifically, this part of the
code in `GenerateGrantRoleStmtsOfRole`:
```
grantRoleStmt->admin_opt = membership->admin_option;
```
In PG16, membership also has `inherit_option` and `set_option` which
need to properly be part of the `grantRoleStmt`. We can skip for now
since #7164 will take care of this soon, and also this is not an
expected use-case.
2023-11-13 13:29:10 -05:00
..
backend PG16 - Don't propagate GRANT ROLE with INHERIT/SET option (#7190) 2023-11-13 13:29:10 -05:00
include Add citus_schema_move() function (#7180) 2023-11-13 13:28:54 -05:00
test PG16 - Don't propagate GRANT ROLE with INHERIT/SET option (#7190) 2023-11-13 13:29:10 -05:00