configpolicy/roles/postgres-exporter
Dustin 6f9cd7e4af r/postgres-exporter: Do not connect to tempate1 DB
It turns out, having the exporter connect to the _template1_ database is
not a great idea.  PostgreSQL does not allow creating a new database if
the template database is currently being accessed by any clients.  Since
_template1_ is the default choice, the `createdb` command will probably
fail.

It doesn't specifically matter which database the exporter connects to,
since it reads most (all?) of its data from the PostgreSQL catalog,
which isn't database-specific.
2024-09-02 21:15:23 -05:00
..
handlers r/postgres-exporter: Deploy postgres-exporter 2024-07-02 20:44:29 -05:00
tasks r/postgres-exporter: Deploy postgres-exporter 2024-07-02 20:44:29 -05:00
templates r/postgres-exporter: Do not connect to tempate1 DB 2024-09-02 21:15:23 -05:00