diff options
author | Magnus Hagander <magnus@hagander.net> | 2010-01-31 17:16:23 +0000 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2010-01-31 17:16:23 +0000 |
commit | 04a4413c2a1c6573e209303594b7145103f953b0 (patch) | |
tree | 7300d9718d4fa3dccbff9b5cc5464db664d8745c /src/backend/executor/nodeModifyTable.c | |
parent | eb8892662564a413bc411b1b486ee095b74b8149 (diff) | |
download | postgresql-04a4413c2a1c6573e209303594b7145103f953b0.tar.gz postgresql-04a4413c2a1c6573e209303594b7145103f953b0.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/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions