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.
 
 
 
 
 
Go to file
Alan Fairless 927a30c404 Fix postgresql_user to understand PG namespaces
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 Pass scrub_data by default, see response from DO here: https://www.digitalocean.com/blog 11 years ago
commands shell module: document removes option and sync with command module doc 11 years ago
database Fix postgresql_user to understand PG namespaces 11 years ago
files Basic docsite formatting fixups 11 years ago
internal Addresses #5023 Fix import comments 11 years ago
inventory Make add_host clear the inventory pattern cache, add some more aliases. Fixes #4442. 11 years ago
messaging Addresses #5023 Fix import comments 11 years ago
monitoring module(nagios): don't catch `SystemExit` 11 years ago
net_infrastructure Addresses #5023 Fix import comments 11 years ago
network Addresses #5023 Fix import comments 11 years ago
notification module is not exposed to send_msg, but main() catches exceptions and uses module.fail_json 11 years ago
packaging Merge pull request #5489 from daghoidahl/devel 11 years ago
source_control Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
system Fixed typo in example documentation 11 years ago
utilities Fix documentation example for the fail module 11 years ago
web_infrastructure Addresses #5023 Fix import comments 11 years ago