]> granicus.if.org Git - pgbadger/commit
When a query is > 10Kb we first limit size of all constant string parameters
authorGilles Darold <gilles@darold.net>
Tue, 18 Jun 2019 08:22:58 +0000 (10:22 +0200)
committerGilles Darold <gilles@darold.net>
Tue, 18 Jun 2019 08:22:58 +0000 (10:22 +0200)
commit5e88446551b5ee7ac7654d23e87b2ef9dbea6420
tree23bd2b54d7c2448690afcf2b02b2a7acef9eca6a
parentabc26e4df16109ce401ee2c82ec9a429e5e05f6e
When a query is > 10Kb we first limit size of all constant string parameters
to 30 charaters and then the query is truncated to 10Kb. This prevent
pgbadger to waste time/hang with very long queries when inserting bytea
for example. The 10Kb limit can be controled witgh the --maxlength
command line parameter.
pgbadger