You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The connection method in psycopg2 must not contain keyword arguments when they should be left to a default value (None will not work). As a result, when connecting via socket is desired, the postgresql_privs module will error out with this message:
File "/tmp/ansible-1378419279.94-205411105299342/postgresql_privs", line 1495, in <module>
main()
File "/tmp/ansible-1378419279.94-205411105299342/postgresql_privs", line 544, in main
conn = Connection(p.host, p.port, p.login, p.password, p.database)
File "/tmp/ansible-1378419279.94-205411105299342/postgresql_privs", line 256, in __init__
password=password, database=database
TypeError: argument 3 must be string, not None
The other postgresql modules (*_db and *_user) already implement parameter filtering, it could be copied from them.
The text was updated successfully, but these errors were encountered:
The connection method in psycopg2 must not contain keyword arguments when they should be left to a default value (
None
will not work). As a result, when connecting via socket is desired, the postgresql_privs module will error out with this message:The other postgresql modules (*_db and *_user) already implement parameter filtering, it could be copied from them.
The text was updated successfully, but these errors were encountered: