Re: [HACKERS] Overhead for stats_command_string et al, take 2
В списке pgsql-patches по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] Overhead for stats_command_string et al, take 2 |
| Дата | |
| Msg-id | 23455.1151359718@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [HACKERS] Overhead for stats_command_string et al, take (Bruce Momjian <bruce@momjian.us>) |
| Ответы |
Re: [HACKERS] Overhead for stats_command_string et al, take
|
| Список | pgsql-patches |
Bruce Momjian <bruce@momjian.us> writes:
> If you put a contition test in set_ps_display(), the only clean way to
> do this is for init_ps_display() to force update_process_title to true
> before we call set_ps_display(), then reset it to its original value,
> but that sounds pretty ugly.
No, refactor the code. I was envisioning something called maybe
transmit_ps_display that would contain the part of set_ps_display
beginning at "Transmit new setting to kernel". Then both set_ps_display
and init_ps_display would call that.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера