Peter Galbavy <Peter(dot)Galbavy(at)knowledge(dot)com> writes:
> Is their any reason not to replace the kill() with a longjmp()
I always wondered why elog uses such a bizarre approach to transferring
control back to the main loop, myself.
kill() self -> SIGQUIT signal catcher -> longjmp -> main loop.
Seems to me two of these steps could be eliminated ;-)
So far there hasn't been a reason to touch the code (if it ain't broke
don't fix it) ... but if it is broken on at least one platform, the
situation is different.
I'd say OpenBSD is definitely broken, however. A process should be
allowed to signal itself. File a bug report...
regards, tom lane
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 1999-03-29 15:45:07|
|Subject: Re: [HACKERS] libpq++ |
|Previous:||From: Vince Vielhaber||Date: 1999-03-29 13:26:37|
|Subject: Re: [HACKERS] libpq++|