Skip to content

[ADD]added pgbadget tool

Usage

  • Copy the content of /pgbadger_conf file and paste it into /etc/postgresql/*/main*/postgresql.conf file
  • Then restart the postgresql service: /etc/init.d/postgresql restart
  • Execute your test
  • Finally run pgbadger: pgbadger -f stderr -s 10 -T "HTML Title" -o /Paht/to/results.html /etc/postgresql/*/main/pg_log/postgresql-YYYY-XX-YY.log

**Note:

Each time you execute your tests in order to use pgbadger, I recommend you to clean log file before, or move log file another place to avoid use pgbadger with a huge log history.

More details in this Blog

Merge request reports