Skip to content

Commit

Permalink
PMM-12692 add pg_stat_statements extension
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Dec 7, 2023
1 parent 8e306c6 commit 5347b11
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions update/ansible/playbook/tasks/roles/postgres/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@
expires: infinity
state: present

- name: Create pg_stat_statements extension
postgresql_ext:
db: postgres
name: pg_stat_statements
schema: public

- name: Stop Postgres 14 database without supervisor
command: /usr/pgsql-14/bin/pg_ctl stop -D /srv/postgres14
become: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
postgresql_ext:
db: postgres
name: pg_stat_statements
schema: public

- name: Stop Postgres database without supervisor
command: /usr/pgsql-14/bin/pg_ctl stop -D /srv/postgres14
Expand Down

0 comments on commit 5347b11

Please sign in to comment.