Re: [doc] modifying unit from characters to bytes

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [doc] modifying unit from characters to bytes
Date: 2020-07-08 02:25:26
Message-ID: df4c5cef-2f69-ca3c-60e2-c784c404f02d@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2020-07-08 02:40:34 Re: [HACKERS] Look-behind regular expressions
Previous Message Amit Langote 2020-07-08 02:16:54 Re: posgres 12 bug (partitioned table)