Skip to content

Commit

Permalink
PG17: Fix makeaclitem
Browse files Browse the repository at this point in the history
Postgres 17 introduced the MAINTAIN privilege.

postgres/postgres@ecb0fd33
  • Loading branch information
fabriziomello committed Sep 9, 2024
1 parent 7484f34 commit 9a1707f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/gh_matrix_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def macos_config(overrides):
"snapshot": "snapshot",
"tsdb_build_args": "-DEXPERIMENTAL=ON",
# @TODO: those skipped tests should be revisited later
"skipped_tests": "repair 001_job_crash_log",
"skipped_tests": "001_job_crash_log",
}
)
)
Expand Down
3 changes: 3 additions & 0 deletions src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1696,6 +1696,9 @@ ts_makeaclitem(PG_FUNCTION_ARGS)
#if PG16_GE
{ "SET", ACL_SET },
{ "ALTER SYSTEM", ACL_ALTER_SYSTEM },
#endif
#if PG17_GE
{ "MAINTAIN", ACL_MAINTAIN },
#endif
{ "RULE", 0 }, /* ignore old RULE privileges */
{ NULL, 0 }
Expand Down

0 comments on commit 9a1707f

Please sign in to comment.