Skip to content

"system" sub-command not catching some keywords #18

@kmoppel

Description

@kmoppel

For example "listening" + "was shut down" lines not reported compared to Go version

./pgweasel-go system testdata/pgbench_large.log.gz
2025-08-27 01:24:18.975 EEST [3863217] LOG:  starting PostgreSQL 16.10 (Ubuntu 16.10-1.pgdg24.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, 64-bit
2025-08-27 01:24:18.975 EEST [3863217] LOG:  listening on IPv4 address "127.0.0.1", port 54316
2025-08-27 01:24:18.978 EEST [3863217] LOG:  listening on Unix socket "/tmp/.s.PGSQL.54316"
2025-08-27 01:24:18.982 EEST [3863221] LOG:  database system was shut down at 2025-08-27 01:23:49 EEST
2025-08-27 01:24:18.987 EEST [3863217] LOG:  database system is ready to accept connections

./pgweasel  system testdata/pgbench_large.log.gz
2025-08-27 01:24:18.987 EEST [3863217] LOG:  database system is ready to accept connections

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions