doc: Correct the description about the length of pg_stat_activity.query.
authorFujii Masao <fujii@postgresql.org>
Thu, 9 Jul 2020 04:31:33 +0000 (13:31 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 9 Jul 2020 04:31:33 +0000 (13:31 +0900)
commita5cd7047e7c6dacdef79a763a26802469ac4e02b
tree294f5aa04870f3712252dfff8941fc169adf47d9
parent91bdf499b37b0bbef34e2bab5cc40dde52bda52c
doc: Correct the description about the length of pg_stat_activity.query.

pg_stat_activity.query text is truncated at 1024 bytes. But previously
the document described that it's truncated at 1024 characters.
This was not accurate when considering multibyte characters.

Back-patch to v10 where this inaccurate description was added.

Author: Atsushi Torikoshi
Reviewed-by: Daniel Gustafsson, Fujii Masao
Discussion: https://postgr.es/m/cd5b49a5a14e887542f5f569c1c6bde2@oss.nttdata.com
doc/src/sgml/monitoring.sgml