darold / pgbadger

A fast PostgreSQL Log Analyzer
http://pgbadger.darold.net/
PostgreSQL License
3.45k stars 348 forks source link

Use of uninitialized value in pattern match (m//) at /usr/bin/pgbadger line 21645. #817

Closed abdullahyapici closed 5 months ago

abdullahyapici commented 5 months ago

Hello,

When I want to create a report via pgbadger, it gives an error like this. "Use of uninitialized value in pattern match (m//) at /usr/bin/pgbadger line 21645."

Command Line : pgbadger -v -M -W -d test --exclude-app pg_dump --exclude-user pgwatch2 /var/lib/postgresql/16/main/log/2024-02-06.csv Operating System : Ubuntu 22.04.3 LTS Pgpadger Version : pgBadger version 12.4 Postgresql Version : PostgreSQL 16.0 (Ubuntu 16.0-1.pgdg22.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, 64-bit

locale -a output :

C C.utf8 en_US.utf8 POSIX

How do you think I can solve the problem?

darold commented 5 months ago

This issue have been fixed with commit 9318ff8, please use latest development code.