Skip to content

Add support for routines in postgresql_default_privileges#535

Merged
cyrilgdn merged 3 commits intocyrilgdn:mainfrom
tspearconquest:feature/support_routine_in_default_privileges
Aug 31, 2025
Merged

Add support for routines in postgresql_default_privileges#535
cyrilgdn merged 3 commits intocyrilgdn:mainfrom
tspearconquest:feature/support_routine_in_default_privileges

Conversation

@tspearconquest
Copy link
Copy Markdown
Contributor

@tspearconquest tspearconquest commented Apr 5, 2025

Hi,

This PR adds some support for routines in the postgresql_default_privileges resource.

I hope it is satisfactory. Go is not my strength, so please let me know if it is insufficient as I will retract this PR in that case.

Related: #470

Signed-off-by: Thomas D. Spear <thomas.spear@wcgclinical.com>
@TyranVdMerwePaytec
Copy link
Copy Markdown

Would be great to get this one in!

@cyrilgdn
Copy link
Copy Markdown
Owner

@tspearconquest Thanks for your work on that. There was an issue with your changes, it was enough to allow the provider to apply the privileges but then it was failing while trying to read privileges.

I pushed a small fix and an associated acceptance test to assert that it works properly.

@cyrilgdn cyrilgdn merged commit 450ce85 into cyrilgdn:main Aug 31, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants