From: torikoshia <torikoshia@oss.nttdata.com>
To: pgsql-hackers@postgresql.org
Subject: [doc] modifying unit from characters to bytes
Date: Wed, 08 Jul 2020 10:54:42 +0900
Message-ID: <cd5b49a5a14e887542f5f569c1c6bde2@oss.nttdata.com> (raw)
Hi,
The manual describes the size of pg_stat_activity.query
as below:
| By default the query text is truncated at 1024 characters;
When considering multibyte characters, it seems more
accurate to change the unit from "characters" to "bytes".
I also searched other "[0-9] characters" in the manual.
I may overlook something, but apparently it seems ok
because of their contexts which are limited to ASCII
character or other reasons.
Regards,
--
Atsushi Torikoshi
NTT DATA CORPORATION
Attachments:0001-modifying-unit-from-characters-to-bytes.patch (text/x-diff, 741B) downloaddiff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgmlindex 211d279094..e03e612e8a 100644--- a/doc/src/sgml/monitoring.sgml+++ b/doc/src/sgml/monitoring.sgml@@ -894,7 +894,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"/>.
</para></entry>
</row>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: torikoshia@oss.nttdata.com
Subject: Re: [doc] modifying unit from characters to bytes
In-Reply-To: <cd5b49a5a14e887542f5f569c1c6bde2@oss.nttdata.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox