Magnus Hagander wrote:
> You'd actually need to get a pid *reuse* during that short time.
That isn't so implausible on a system which assigns PIDs randomly.
Holding the SInvalLock doesn't remove the race condition, but it
makes it less likely to occur for essentially very little cost.
> Bottom line - while maybe slightly more correcet, not sure it's
> necessary.
IMHO it's worth doing.
-Neil
In response to
Responses
pgsql-patches by date
| Next: | From: Tom Lane | Date: 2004-05-27 19:31:23 |
| Subject: Re: win32 locale fixes |
| Previous: | From: Magnus Hagander | Date: 2004-05-27 18:35:28 |
| Subject: Re: Cancel/Kill backend functions |