https://github.com/munakoiso/logerrors/
logerrors is a PostgreSQL extension for collecting statistics about messages in logfile.
The PostgreSQL RPM repository uses PostgreSQL version numbers in the RPM packages. For example logerrors for PostgreSQL 18 is named as logerrors_18. Similarly logerrors for PostgreSQL 17 is named as logerrors_17.
logerrors provides the following subpackages:
Install PGDG repository from: https://zypp.postgresql.org/repopackages/
| OS | Command |
|---|---|
| SuSE Enterprise Linux 15 / 16, OpenSuSE Leap 16.0 | zypper install logerrors_18 (or change the version as described above) |
logerrors requires to be added to shared_preload_libraries
before creating the extension. This requires a restart of the PostgreSQL
instance to take effect. If there are additional libraries, please be sure
to add them as a comma-separated list. An example is:
shared_preload_libraries="logerrors"
You can create the extension after restarting the instance. Connect to the database that
you want to create the extension as superuser and run:
CREATE EXTENSION logerrors;
| PostgreSQL version(s) | OS version | Arch | Status |
|---|---|---|---|
| 18,17,16,15,14 | SuSE Enterprise Linux 16 | x86_64 | Available |
| 18,17,16,15,14 | OpenSuSE Leap 16.0 | x86_64 | Available |
| 18,17,16,15,14 | SuSE Enterprise Linux 15 | x86_64 | Available |