Re: [HACKERS] More efficient truncation of pg_stat_activity querystrings

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] More efficient truncation of pg_stat_activity querystrings
Дата
Msg-id 20170915203632.6eu4pggl2vowcx5r@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [HACKERS] More efficient truncation of pg_stat_activity query strings  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [HACKERS] More efficient truncation of pg_stat_activity query strings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2017-09-15 08:25:09 -0400, Robert Haas wrote:
> On Thu, Sep 14, 2017 at 2:03 AM, Andres Freund <andres@anarazel.de> wrote:
> > Here's a patch that implements that idea.
> 
> From the department of cosmetic nitpicking:
> 
> +     * All supported server-encodings allow to determine the length of a
> 
> make it possible to determine
> 
> +     * multi-byte character from it's first byte (not the case for client
> 
> its
> 
> this is not the case
> 
> +     * encodings, see GB18030). As st_activity always is stored using server
> 
> is always stored using a server
> 
> +     * pgstat_clip_activity() to trunctae correctly.

Version correcting these is attached. Thanks!

Greetings,

Andres Freund

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: [HACKERS] postgres_fdw: evaluate placeholdervars on remote server
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: [HACKERS] The case for removing replacement selection sort