Re: [HACKERS] Re: Reducing sema usage (was Postmaster dies with many child processes)

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема Re: [HACKERS] Re: Reducing sema usage (was Postmaster dies with many child processes)
Дата
Msg-id 36B5A21D.72A063FD@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: Reducing sema usage (was Postmaster dies with many child processes)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Hmm.  If that's true, then the failure to get a sema would occur very
> early in the new backend's lifetime, before it's had a chance to 
> create any trouble.  Maybe the very easiest solution to the sema issue 
> is to make the new backend send a failure report to its client and 
> then exit(0) instead of exit(1), so that the postmaster considers it a 
> clean exit rather than a crash...

Sounds like the cleanest solution too. If it pans out, I like it...
                      - Tom


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