ps output and postgres

Поиск
Список
Период
Сортировка
От Eric Ridge
Тема ps output and postgres
Дата
Msg-id 0D181A83-5CE3-11D8-984A-000A95BB5944@tcdi.com
обсуждение исходный текст
Ответ на Re: pg_dump/pg_restore problems with 7.4.1  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: ps output and postgres
Список pgsql-general
I like how postgres backends modify the 'command' display in a (unix)
process listing to show what database they are connected to, and the
query being executed.

Has any thought been put into being able to make this configurable per
backend connection (maybe via a SET variable)?  I'm thinking it would
be cool if a user process could provide its own status there,
identifying application-specific information.  Similar to how Java
let's you set the "name" of a Thread (which sadly doesn't appear in a
process listing, but oh well).

I realize this could open up some security concerns by allowing us to
expose more information than we should, but for those of us that want
to shoot ourselves in the foot, it might be a useful feature.

Any thoughts?

eric


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_dump/pg_restore problems with 7.4.1
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: DB cache size strategies