summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2020-07-09 13:31:33 +0900
committerFujii Masao <fujii@postgresql.org>2020-07-09 13:37:56 +0900
commitf03a34ad2cf3e17fe9b3aef53e97e0fae60a3a20 (patch)
treec2a693c267fc249b0f7486363c6168edd876fc47 /doc/src
parent49d7d5f21f9d40c88baccbcbc7d0d1ad53b49b98 (diff)
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
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/monitoring.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml
index 30fd335d626..d1582e0b9ed 100644
--- a/doc/src/sgml/monitoring.sgml
+++ b/doc/src/sgml/monitoring.sgml
@@ -795,7 +795,7 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
<structfield>state</> is <literal>active</> 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>