Skip to content

Commit

Permalink
Fix grants
Browse files Browse the repository at this point in the history
  • Loading branch information
deric committed Apr 4, 2024
1 parent b32e513 commit e7ce929
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/grants/psql11.pp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}

# GRANT EXECUTE ON FUNCTION pg_catalog.set_config(text, text, boolean) TO backup;
postgresql::server::grant { "current_setting-to-${db_user}":
postgresql::server::grant { "set_config-to-${db_user}":
db => $db_name,
role => $db_user,
privilege => 'EXECUTE',
Expand Down
2 changes: 1 addition & 1 deletion manifests/grants/psql15.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}

# GRANT EXECUTE ON FUNCTION pg_catalog.set_config(text, text, boolean) TO backup;
postgresql::server::grant { "current_setting-to-${db_user}":
postgresql::server::grant { "set_config-to-${db_user}":
db => $db_name,
role => $db_user,
privilege => 'EXECUTE',
Expand Down

0 comments on commit e7ce929

Please sign in to comment.