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:36:24 +0000 (13:36 +0900)
commit08952572a7d6197393051f881a880be4223c7291
treece3ab5ea1cb3a0fe91db228347da3b1cbd73d401
parentd51155544befc48cacfda3ad28ba64bdee3161e8
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