Skip to content
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

postgresql_privs: fix schema quoting #382

Merged

Conversation

betanummeric
Copy link
Member

fixes #381

Make postgresql_privs work with schema names containing arbitrary characters (e.g. " or .).

Copy link
Collaborator

@Andersson007 Andersson007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@betanummeric thanks for the fix!

plugins/modules/postgresql_privs.py Show resolved Hide resolved
…tables in schemas with names that need to be quoted are set correctly
@Andersson007 Andersson007 merged commit 3ddff9c into ansible-collections:main Dec 8, 2022
@ansible-collections ansible-collections deleted a comment from patchback bot Dec 8, 2022
@Andersson007
Copy link
Collaborator

Andersson007 commented Dec 8, 2022

@betanummeric manual backporting fails. If it's applicable, could you please try to backport it manually to stable-1? there's the guide.

UPDATE: Please don't use that stuff proposed to try by the bot which you can see in the email notification.

@betanummeric
Copy link
Member Author

@Andersson007 It appears to be applicable to version 1 too, I will create a PR for that.

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.

postgresql_privs: schema name is not quoted properly
4 participants