community.general/lib/ansible/modules/database/postgresql
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
..
__init__.py
postgresql_db.py Remove dependency to psycopg2 with dump/restore (#53323) 2019-03-11 14:38:14 +00:00
postgresql_ext.py start getting modules to use shared import error code (#51787) 2019-02-06 12:39:17 -05:00
postgresql_idx.py Correct usages of module.warn (#53268) 2019-03-04 12:11:27 -05:00
postgresql_lang.py start getting modules to use shared import error code (#51787) 2019-02-06 12:39:17 -05:00
postgresql_ping.py New module postgresql_ping: Checks remote PostgreSQL server availability. (#51477) 2019-03-06 11:01:13 +00:00
postgresql_privs.py postgresql_privs: Support FOREIGN DATA WRAPPER and FOREIGN SERVER (#38803) 2019-03-08 14:51:03 +05:30
postgresql_query.py New module postgresql_query (#52555) 2019-02-25 14:08:04 +00:00
postgresql_schema.py start getting modules to use shared import error code (#51787) 2019-02-06 12:39:17 -05:00
postgresql_tablespace.py New module postgresql_tablespace (#52914) 2019-03-07 16:27:20 +00:00
postgresql_user.py start getting modules to use shared import error code (#51787) 2019-02-06 12:39:17 -05:00