Hi hackers, I would like to suggest a patch to truncate some long queries. I believe sometimes there is no need to log a query containing some gigabytes of blob, for example. In patch a new parameter, named max_log_size, is introduced. It defines the maximum size of logged query, in bytes. Everything beyond that size is truncated.
Best regards, Kirill Gavrilov
0001-parameter-max_log_size-to-truncate-logs.patch
Description: Binary data