tedder
bffd137edd
code review fixes per #957
10 years ago
tedder
472331a53b
skip password changes so pg_authid isn't needed
...
Some places ([AWS RDS](https://forums.aws.amazon.com/thread.jspa?threadID=151248 )) don't have, or don't allow, access to the `pg_authid` table. The only reason that is necessary is to check for a password change.
This flag is a workaround so passwords can only be set at creation time. It isn't as elegant as changing the password down the line, but it fixes the longstanding issue #297 that prevented this from being useful on AWS RDS.
10 years ago
Brian Coca
02af66d232
Merge pull request #559 from mjschultz/postgres-db-fix
...
Build the db connection on `"postgres"` instead of `"template1"`
10 years ago
Johannes Steger
34aa98a99c
Fix function identifier quoting
10 years ago
Michael J. Schultz
b894bc2b77
Build the db connection on `"postgres"` instead of `"template1"`
...
According to the postgresql docs[1], you should not have a connection with
`"template1"` when copying multiple databases.
[1]: http://www.postgresql.org/docs/9.1/static/manage-ag-templatedbs.html
10 years ago
Toshio Kuratomi
b0c94cd6f6
Merge pull request #281 from kustodian/postgresql_db_fix_for_python_24_checkmode
...
Fixed postgresql_db failing on Python 2.4 with --check
10 years ago
kustodian
07b98c45df
Fixed postgresql_db failing on Python 2.4 with --check
...
This reverts commit 81cbdb6c8c
and adds ignoring of the SystemExit exception because of Python 2.4.
10 years ago
Toshio Kuratomi
b766390ae2
Add USAGE as a valid privilege
10 years ago
Toshio Kuratomi
5af4463823
Gixes to doc formatting
10 years ago
Toshio Kuratomi
dda6d89060
Fix typo so docs will build
10 years ago
Dan
084ccf5a64
Adds a login_unix_socket option to the postgresql_privs module.
10 years ago
Dan
3a3ff1f0e4
Adds a unix_socket/login_unix_socket option to the postgresql_user module.
10 years ago
Dan
bf36697a55
Adds a login_unix_socket option to the postgresql_db module.
10 years ago
Toshio Kuratomi
2a794fa776
Fix for single role_attr
10 years ago
Devin Christensen
06f1c1a97e
Fix user_alter in postgresql_user
10 years ago
Devin Christensen
c77ab67274
Fix user_add in postgresql_user
10 years ago
Devin Christensen
4a3d7473fd
Fix syntax error
10 years ago
Toshio Kuratomi
06ac459fc5
Correct new function name
10 years ago
Toshio Kuratomi
c84ae54294
Normalize privs and flags to uppercase so comparisons against allowed names will work
10 years ago
Toshio Kuratomi
fbc4ed7a88
Make sure we quote or confirm good all user provided identifiers
10 years ago
Toshio Kuratomi
51910a1a33
Audit escaping of identifiers in the postgresql_user module
10 years ago
Toshio Kuratomi
1b0afb137c
More robust quoting of database identifiers
...
Note: These aren't database values, those are already using the
appropriate Pyhton DB API method for quoting.
10 years ago
kustodian
81cbdb6c8c
Fixed postgresql_db failing on Python 2.4 with --check
10 years ago
Michael DeHaan
3ed1378067
Some more module categorization.
10 years ago