- 14 May, 2014 1 commit
-
-
While the encrypted parameter's documentation clearly states that it needs to be set, if you are focused on the password parameter's documentation, there's nothing to draw your attention to the fact that encrypted may also need to be set.
Scott Sturdivant committed
-
- 12 Mar, 2014 1 commit
-
-
Richard C Isaacson committed
-
- 24 Feb, 2014 1 commit
-
-
Kyle Kelley committed
-
- 07 Feb, 2014 1 commit
-
-
Arturs Vonda committed
-
- 03 Feb, 2014 1 commit
-
-
Matthew Jones committed
-
- 04 Jan, 2014 1 commit
-
-
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.
Alan Fairless committed
-
- 31 Dec, 2013 1 commit
-
-
Jinn Koriech committed
-
- 05 Dec, 2013 2 commits
-
-
Jinn Koriech committed
-
Jinn Koriech committed
-
- 02 Dec, 2013 2 commits
-
-
James Tanner committed
-
James Tanner committed
-
- 28 Nov, 2013 2 commits
-
-
Revert "No longer need to reference 'version_added' in docs for these, as this was quite a while ago." This reverts commit ff0a41d4.
Michael DeHaan committed -
Michael DeHaan committed
-
- 14 Nov, 2013 1 commit
-
-
James Tanner committed
-
- 03 Nov, 2013 1 commit
-
-
Steve Tjoa committed
-
- 26 Oct, 2013 3 commits
-
-
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
Brian Coca committed -
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
Brian Coca committed -
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
Brian Coca committed
-
- 15 Jun, 2013 1 commit
-
-
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string Added deprecation warning to moduledev.rst and remove deprecated example from it Fixed up a few typos and uppercased some acronyms. add consistency to how EXAMPLES are formatted
Jan-Piet Mens committed
-
- 01 Jun, 2013 1 commit
-
-
Michael DeHaan committed
-
- 28 Apr, 2013 1 commit
-
-
Michael DeHaan committed
-
- 08 Apr, 2013 1 commit
-
-
This allows the password to contain single quotes and should make it safe to use randomly generated passwords (provided passwords can be represented in the connection encoding).
Bernhard Weitzhofer committed
-
- 01 Apr, 2013 1 commit
-
-
Change documentation of "state" param to refer to user (role) state instead of database state. Change 2 function docstrings to reflect the code
Bernhard Weitzhofer committed
-
- 27 Feb, 2013 1 commit
-
-
Michael DeHaan committed
-
- 24 Feb, 2013 1 commit
-
-
Rodney Quillo committed
-
- 20 Feb, 2013 1 commit
-
-
Rodney Quillo committed
-
- 19 Feb, 2013 2 commits
-
-
Lorin Hochstein committed
-
This change enables users to add and remove permissions to all roles, using the PUBLIC user. This is equivalent to using the PUBLIC keyword in GRANT and DENY postgres SQL commands. For example, see: <http://www.postgresql.org/docs/current/interactive/sql-grant.html> Fixes #1833
Lorin Hochstein committed
-
- 05 Jan, 2013 1 commit
-
-
Félix Sipma committed
-
- 04 Jan, 2013 1 commit
-
-
Félix Sipma committed
-
- 05 Dec, 2012 1 commit
-
-
Daniel Hokka Zakrisson committed
-
- 21 Nov, 2012 1 commit
-
-
Jan-Piet Mens committed
-
- 19 Nov, 2012 1 commit
-
-
Michael DeHaan committed
-
- 31 Oct, 2012 1 commit
-
-
Michael DeHaan committed
-
- 23 Oct, 2012 1 commit
-
-
- added terse syntax to modules.rst - added description of special variables to template module
Jan-Piet Mens committed
-
- 20 Oct, 2012 1 commit
-
-
Added 'script', a module that can push and insantly run a remote script. Replaces the need to copy+command. This is a bit of a rough draft, some error handling still needs to be added.
Michael DeHaan committed
-
- 15 Oct, 2012 1 commit
-
-
Pass role_attr_flags a list of comma separated role attributes when creating or updating a user.
Jeremiah Heller committed
-
- 30 Sep, 2012 1 commit
-
-
- .rst now supresses default if none is set (looks better in HTML) - .rst now handles empty options list - Fixed postgresql_user and mysql_user because YAML contained colons - docs for facter
Jan-Piet Mens committed
-
- 29 Sep, 2012 1 commit
-
-
Marco Vito Moscaritolo committed
-
- 07 Sep, 2012 1 commit
-
-
If I create a database from scratch and assign permissions by doing: - name: ensure database is created action: postgresql_db db=$dbname - name: ensure django user has access action: postgresql_user db=$dbname user=$dbuser priv=ALL password=$dbpassword Then it fails with the error: File "/tmp/ansible-1347048449.32-29998829936529/postgresql_user", line 565, in <module> main() File "/tmp/ansible-1347048449.32-29998829936529/postgresql_user", line 273, in main changed = grant_privileges(cursor, user, privs) or changed File "/tmp/ansible-1347048449.32-29998829936529/postgresql_user", line 174, in grant_privileges changed = grant_func(cursor, user, name, privilege)\ File "/tmp/ansible-1347048449.32-29998829936529/postgresql_user", line 132, in grant_database_privilege prev_priv = get_database_privileges(cursor, user, db) File "/tmp/ansible-1347048449.32-29998829936529/postgresql_user", line 118, in get_database_privileges r = re.search('%s=(C?T?c?)/[a-z]+\,?' % user, datacl) File "/usr/lib/python2.7/re.py", line 142, in search return _compile(pattern, flags).search(string) TypeError: expected string or buffer This fix fixes the problem by not executing the regex if the db query on pg_database returns None.
Lorin Hochstein committed
-