Search Postgresql Archives

Limiting the amount of data in a variable when logging slow queries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

We've enabled the slow query log and have a particular query that is executing an insert against a table containing a binary array column.

Given the content being stored is upwards of 100MB+ this leads to very long log messages for the slow query log.

Is there a way of having the slow query log only output the first 'n' bytes of a byte array and/or exempting this particular insert?

Thanks,

--
Kind regards,

Brett Delle Grazie

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux