Re: current_query in pg_stat_activity

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: current_query in pg_stat_activity
Дата
Msg-id 22063.1077635150@sss.pgh.pa.us
обсуждение исходный текст
Ответ на current_query in pg_stat_activity  (Oliver Fromme <olli@lurza.secnetix.de>)
Ответы Re: current_query in pg_stat_activity  (Oliver Fromme <olli@lurza.secnetix.de>)
Список pgsql-novice
Oliver Fromme <olli@lurza.secnetix.de> writes:
> The "current_query" column in the "pg_stat_activity" system
> table seems to be limited to 255 characters.  Is there a way
> to increase that limit, in order to see queries completely
> which are longer than 255 characters?

You could fool with PGSTAT_ACTIVITY_SIZE in pgstat.h, but you probably
need to keep it under 1000 --- note the comments associated with
PGSTAT_NUM_TABENTRIES.

            regards, tom lane

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

Предыдущее
От: "Crombleholme, Roy"
Дата:
Сообщение: Re: installing pgsql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: installing pgsql