| От | Tatsuo Ishii |
|---|---|
| Тема | Re: [HACKERS] max backends checking patch |
| Дата | |
| Msg-id | 199901101500.AAA03642@ext16.sra.co.jp обсуждение исходный текст |
| Ответ на | Re: [HACKERS] max backends checking patch (Vadim Mikheev <vadim@krs.ru>) |
| Ответы |
Re: [HACKERS] max backends checking patch
|
| Список | pgsql-hackers |
> Couldn't postmaster just keep # of backends running > in some variable, instead of examining BackendList ? Yes, you could do that way. I just want to keep things simple. There are three places in postmaster.c where element is deleted from the BackendList. So you need to insert a code to count down the variable into those three places. Seems a seed of "maintenance problem" in the future IMHO:-) Having a counter inside the dllist module is another idea. If there were many codes in the backend that counting elemnts in the dllist, this would be worth to think about. I'm not sure, though. --- Tatsuo Ishii
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера