Re: Increasing the length of pg_stat_activity.current_query...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Increasing the length of pg_stat_activity.current_query...
Дата
Msg-id 11111.1099770255@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Increasing the length of pg_stat_activity.current_query...  (Sean Chittenden <sean@chittenden.org>)
Ответы Re: Increasing the length of pg_stat_activity.current_query...  (Sean Chittenden <sean@chittenden.org>)
Re: Increasing the length of  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
Sean Chittenden <sean@chittenden.org> writes:
> Is there any reason the length of 
> pg_catalog.pg_stat_activity.current_query is capped at 255 characters?  

The reason for a limit is to avoid fragmentation of UDP messages.
I believe we've set it at 1K for 8.0, though, and if you are on
a platform with a higher message size limit you could raise it more.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Using ALTER TABLESPACE in pg_dump
Следующее
От: Sean Chittenden
Дата:
Сообщение: Re: Increasing the length of pg_stat_activity.current_query...