|
|
@ -21,6 +21,8 @@ short_description: Run PostgreSQL queries
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Runs arbitrary PostgreSQL queries.
|
|
|
|
- Runs arbitrary PostgreSQL queries.
|
|
|
|
- Can run queries from SQL script files.
|
|
|
|
- Can run queries from SQL script files.
|
|
|
|
|
|
|
|
- Does not run against backup files. Use M(postgresql_db) with I(state=restore)
|
|
|
|
|
|
|
|
to run queries on files made by pg_dump/pg_dumpall utilities.
|
|
|
|
version_added: '2.8'
|
|
|
|
version_added: '2.8'
|
|
|
|
options:
|
|
|
|
options:
|
|
|
|
query:
|
|
|
|
query:
|
|
|
@ -66,6 +68,8 @@ options:
|
|
|
|
type: bool
|
|
|
|
type: bool
|
|
|
|
default: no
|
|
|
|
default: no
|
|
|
|
version_added: '2.9'
|
|
|
|
version_added: '2.9'
|
|
|
|
|
|
|
|
seealso:
|
|
|
|
|
|
|
|
- module: postgresql_db
|
|
|
|
author:
|
|
|
|
author:
|
|
|
|
- Felix Archambault (@archf)
|
|
|
|
- Felix Archambault (@archf)
|
|
|
|
- Andrew Klychkov (@Andersson007)
|
|
|
|
- Andrew Klychkov (@Andersson007)
|
|
|
|