Skip to content

Commit cf40e4b

Browse files
committed
Update ChangeLog and version to 12.3
1 parent a05521b commit cf40e4b

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed

ChangeLog

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
2023-11-27 - v12.3
2+
3+
This is a maintenance release of pgBadger that fixes issues reported by
4+
users since last release. It also adds some new features:
5+
6+
* Add option --include-pid to only report events related to a session
7+
pid (%p). Can be used multiple time. Thanks to Henrietta Dombrovskaya
8+
for the feature request.
9+
* Add option --include-session to only report events related to the
10+
session id (%c). Can be used multiple time. Thanks to Henrietta Dombrovskaya
11+
for the feature request.
12+
* Add new option --dump-raw-csv to only parse the log and dump the information
13+
into CSV format. No further processing is done, no report is generated.
14+
Thanks to Henrietta Dombrovskaya for the feature request.
15+
16+
Here is the complete list of changes and acknowledgments:
17+
18+
- Update pgFormatter to version 5.5
19+
- Fix end date of parsing with jsonlog format. Thanks to jw1u1 for the report.
20+
- Fix typo in "Sessions per application". Thanks to fairyfar for the patch.
21+
- Fix "INSERT/UPDATE/DELETE Traffic" chart bug. Thanks to fairyfar for the
22+
patch.
23+
- Fix parsing of orphan lines with bind queries. Thanks to youxq for the
24+
report.
25+
- Fix Analyze per table report with new PG versions. Thanks to Jean-Christophe
26+
Arnu for the patch.
27+
- Fix syslog entry parser when the syslog timestamp contains milliseconds.
28+
Thanks to Pavel Rabel for the report.
29+
130
2023-08-20 - v12.2
231

332
This is a maintenance release of pgBadger that fixes issues reported by

META.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: pgBadger
2-
version: 12.2
2+
version: 12.3
33
version_from: pgbadger
44
installdirs: site
55
recommends:

pgbadger

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ use Socket;
5252
use constant EBCDIC => "\t" ne "\011";
5353
use Encode qw(encode decode);
5454

55-
$VERSION = '12.2';
55+
$VERSION = '12.3';
5656

5757
$SIG{'CHLD'} = 'DEFAULT';
5858

@@ -5956,7 +5956,7 @@ sub set_top_error_sample
59565956
# Stop when we have our number of samples
59575957
if (!exists $error_info{$curdb}{$q}{date} || ($#{$error_info{$curdb}{$q}{date}}+1 < $sample))
59585958
{
5959-
if ( ($q =~ /deadlock detected/) || ($real_error && !grep(/^\Q$real_error\E$/, @{$error_info{$curdb}{$q}{error}})) )
5959+
if ( $q =~ /deadlock detected/ || (!$statement && $detail && !grep(/^\Q$detail\E$/, @{$error_info{$curdb}{$q}{detail}})) || ($statement && !grep(/^\Q$statement\E$/, @{$error_info{$curdb}{$q}{statement}})) )
59605960
{
59615961
push(@{$error_info{$curdb}{$q}{date}}, $date);
59625962
push(@{$error_info{$curdb}{$q}{detail}}, $detail);

0 commit comments

Comments
 (0)