-
Notifications
You must be signed in to change notification settings - Fork 23.9k
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_user: allow to pass user name with dots #63565
Conversation
@kostiantyn-nemchenko , @andytom , @kustodian , it does need your review |
ready_for_review |
I think the code could simply remove those |
@Spindel which exact identifiers do you mean in case of role? |
@andytom , @Spindel , i've just changed all that stuff - set "%s" wherever was possible (in DDL queries). Looks better now, much less changes.. (it was the last, 6th PR probably, for today.. so was a bit exhausted doing that:) |
ready_for_review |
Took a look at the diff, and that change looks a lot better, and no strange
branching that can fall out badly. LGTM.
…On Wed, Oct 16, 2019 at 9:14 PM Andrey Klychkov ***@***.***> wrote:
ready_for_review
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#63565?email_source=notifications&email_token=AAMYRZSTYVLFNAOXYO5EDIDQO5R2BA5CNFSM4JBMCLKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBNTXWA#issuecomment-542850008>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMYRZSCEALRFABWGYBBQ7DQO5R2BANCNFSM4JBMCLKA>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LGTM Is this something that should be added to the other modules that deal with roles like |
SUMMARY
postgresql_user: allow to pass user name with dots
fixes: #63204
it is obvious now - pg_quote_identifier doesn't work in this case
ISSUE TYPE
COMPONENT NAME
lib/ansible/module_utils/postgres.py
lib/ansible/modules/database/postgresql/postgresql_user.py