Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0895257

Browse files
committed
doc: Correct the description about the length of pg_stat_activity.query.
pg_stat_activity.query text is truncated at 1024 bytes. But previouslythe 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 TorikoshiReviewed-by: Daniel Gustafsson, Fujii MasaoDiscussion:https://postgr.es/m/cd5b49a5a14e887542f5f569c1c6bde2@oss.nttdata.com
1 parentd511555 commit0895257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎doc/src/sgml/monitoring.sgml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
795795
<structfield>state</structfield> is <literal>active</literal> this field shows the
796796
currently executing query. In all other states, it shows the last query
797797
that was executed. By default the query text is truncated at 1024
798-
characters; this value can be changed via the parameter
798+
bytes; this value can be changed via the parameter
799799
<xref linkend="guc-track-activity-query-size"/>.
800800
</entry>
801801
</row>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp