Closed rdnkrkmz closed 2 years ago
Commit 5c47a7f allow the use of regexp for --exclude-app
and --exclude-client
, in your case now you can use --exclude-app="DBeaver.*"
Thanks, works perfect. I downloaded and compiled the project, but I do not see the parameter --exclude-app in the docs or in pgbadger --help output.
Sorry, this is --exclude-appname
as you may already have found.
Version 11.8, We use "--exclude-appname" to exclude some apps in our report. But application sends its name with script file name which SQL is executed it, as shown in below examples. So with the current pgbadger version, we have to write all of possible application versions and script names to be able to exclude a single application in report.
So, is it possible to use an expression (like regex) to exclude appname in report?
I have examined the perl code, but I realised that it requires bigger code refactoring.