community.general/lib/ansible/modules/database
Glandos d784b77cb4 Remove dependency to psycopg2 with dump/restore (#53323)
* Remove dependency to psycopg2 with dump/restore

'dump' and 'restore' state only need pg_dump and pg_restore. These tools
don't use psycopg2 so this change tries to avoid the use of it in these
cases.

The db_exists test was replaced with an error detection when piping to
compression program, using a FIFO file. This effectively reverts #39483,
that was a fix for #39412.

* Fix typo

* Add changelog fragment

* Add note for dump and restore not requiring psycopg2

* Fix YAML syntax

* Update lib/ansible/modules/database/postgresql/postgresql_db.py

Co-Authored-By: Glandos <bugs-github@antipoul.fr>
2019-03-11 14:38:14 +00:00
..
aerospike Fix incorrect use of `is` for comparisons. 2019-02-12 16:33:13 -08:00
influxdb influxdb_user: Fixed unhandled exception on invalid login credentials (#50134) 2018-12-20 11:47:39 +00:00
misc start getting modules to use shared import error code (#51787) 2019-02-06 12:39:17 -05:00
mongodb Change listDatabases exception handling (#53605) 2019-03-11 05:58:39 -04:00
mssql start getting modules to use shared import error code (#51787) 2019-02-06 12:39:17 -05:00
mysql mysql_user: fix malformed regex used to check current privileges (#52278) 2019-02-21 16:39:51 -08:00
postgresql Remove dependency to psycopg2 with dump/restore (#53323) 2019-03-11 14:38:14 +00:00
proxysql E325 Removal - Part II (#49196) 2018-11-28 13:55:52 +05:30
vertica start getting modules to use shared import error code (#51787) 2019-02-06 12:39:17 -05:00
__init__.py