diff options
author | Fujii Masao <fujii@postgresql.org> | 2020-07-09 13:31:33 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2020-07-09 13:35:56 +0900 |
commit | 0df3f9cb92deb81cdb12367d641c0a7855507e5b (patch) | |
tree | 64efbf20a8b3a12d7a045e11b03af38052ac977a | |
parent | 939db2c1c85879c147a943ad4eb13411c54607b0 (diff) | |
download | postgresql-0df3f9cb92deb81cdb12367d641c0a7855507e5b.tar.gz postgresql-0df3f9cb92deb81cdb12367d641c0a7855507e5b.zip |
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
-rw-r--r-- | doc/src/sgml/monitoring.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 226d6583de7..cef9143a1e3 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -831,7 +831,7 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser <structfield>state</structfield> is <literal>active</literal> this field shows the currently executing query. In all other states, it shows the last query that was executed. By default the query text is truncated at 1024 - characters; this value can be changed via the parameter + bytes; this value can be changed via the parameter <xref linkend="guc-track-activity-query-size"/>. </entry> </row> |