Re: [HACKERS] Re: Reducing sema usage (was Postmaster dies with many child processes) - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] Re: Reducing sema usage (was Postmaster dies with many child processes)
Date
Msg-id 36B5A21D.72A063FD@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] Re: Reducing sema usage (was Postmaster dies with many child processes)  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: RE: [HACKERS] READ COMMITTED isolevel is implemented ...
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [COMMITTERS] [WEBMASTER] 'www/html main.html'