diff options
author | Magnus Hagander <magnus@hagander.net> | 2010-01-31 17:16:25 +0000 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2010-01-31 17:16:25 +0000 |
commit | 27554860c087ff249a853e4622be4580c2fda0d9 (patch) | |
tree | fad9af2c60ee521245a50b9f44031311827b368f /src/backend/regex/regexec.c | |
parent | 0c969e1fec43a34381d8702dce66571d04ee9441 (diff) | |
download | postgresql-27554860c087ff249a853e4622be4580c2fda0d9.tar.gz postgresql-27554860c087ff249a853e4622be4580c2fda0d9.zip |
Fix race condition in win32 signal handling.
There was a race condition where the receiving pipe could be closed by the
child thread if the main thread was pre-empted before it got a chance to
create a new one, and the dispatch thread ran to completion during that time.
One symptom of this is that rows in pg_listener could be dropped under
heavy load.
Analysis and original patch by Radu Ilie, with some small
modifications by Magnus Hagander.
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions