-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for ALL PROCEDURES and ALL ROUTINES #92
Comments
This only applies to the
|
Hi @awendland, Thanks for opening this issue and for your reasearch on this subject.
Your help is welcome, if I read correctly we could replace FUNCTION by ROUTINE and it will be manage both functions and routines no? Your update plan is good, but there's at least 2 more points that you need to manage:
Of course I'd be happy to help your for all of that. So you can create draft PR with the modifications you mentioned, test if it works, fix the tests if broken and ping me so I can already have a look. |
I'm also interested in this and started a PR in #128. Please let me know if it's missing anything! |
Did #128 resolve this issue? If so can we close this out. |
First off, thank you @cyrilgdn for maintaining this terraform provider! It's been such a wonderful way to declaratively manage Postgres roles and privileges.
Feature:
In version 11, Postgres separated procedures out from functions in grant commands. Because of this change it's no longer possible to manage procedures using this provider. The docs state: "
ALL FUNCTIONS
also affects aggregate functions, but not procedures, again just like the specific-objectGRANT
command. UseALL ROUTINES
to include procedures." (source).I'd like to help extend this provider to support
ALL PROCEDURES
andALL ROUTINES
. I'm not particularly familiar with golang or terraform providers, so any guidance/assistance would be appreciated.Plan:
As far as I can tell the main areas that would need to be updated are:
The text was updated successfully, but these errors were encountered: