mirror of https://github.com/ansible/ansible.git
Mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
927a30c404
Previously postgresql_user quoted user supplied identifers to create grant statements that look like this: GRANT SELECT on "tablename" to "user"; Which only works if the tablename is not in a namespace. If you supply a namespaced tabelname like "report.revenue" then it creates this incorrect statement: GRANT SELECT on "report.revenue" to "user"; Which will not find the "revenue" table in the "report" namespace, but will rather look for a table named "report.revenue" in the current (default public) namespace. The correct form is: GRANT SELECT on "report"."revenue" to "user"; This approach could have the unfortunate effect that code that previously relied on the other behavior to grant privileges on tables with periods in their names may now break. PostgreSQL users typically shouldn't name tables as such, and users can still access the old behavior and use tablenames with periods in the if they must by supplying their own quoting. |
11 years ago | |
---|---|---|
cloud | 11 years ago | |
commands | 11 years ago | |
database | 11 years ago | |
files | 11 years ago | |
internal | 11 years ago | |
inventory | 11 years ago | |
messaging | 11 years ago | |
monitoring | 11 years ago | |
net_infrastructure | 11 years ago | |
network | 11 years ago | |
notification | 11 years ago | |
packaging | 11 years ago | |
source_control | 11 years ago | |
system | 11 years ago | |
utilities | 11 years ago | |
web_infrastructure | 11 years ago |