On 2020/07/08 10:54, torikoshia wrote:
> Hi,
>
> The manual describes the size of pg_stat_activity.query
> as below:
>
> | By default the query text is truncated at 1024 characters;
>
> When considering multibyte characters, it seems more
> accurate to change the unit from "characters" to "bytes".
Agreed. Barring any objection, I will commit this patch.
For record, this change derived from the discussion about other patch [1].
Regards,
[1]
https://postgr.es/m/cd0e961fd42e5708fdea70f7420bf214@oss.nttdata.com
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION