Re: [doc] modifying unit from characters to bytes - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: [doc] modifying unit from characters to bytes
Date
Msg-id df4c5cef-2f69-ca3c-60e2-c784c404f02d@oss.nttdata.com
Whole thread Raw
In response to [doc] modifying unit from characters to bytes  (torikoshia <torikoshia@oss.nttdata.com>)
Responses Re: [doc] modifying unit from characters to bytes  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers

On 2020/07/08 10:54, torikoshia wrote:
> 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".

Agreed. Barring any objection, I will commit this patch.

For record, this change derived from the discussion about other patch [1].

Regards,

[1]
https://postgr.es/m/cd0e961fd42e5708fdea70f7420bf214@oss.nttdata.com


-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Modifying data type of slot_keep_segs from XLogRecPtr to XLogSegNo
Next
From: "David E. Wheeler"
Date:
Subject: Re: [HACKERS] Look-behind regular expressions