diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-07-18 14:45:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-07-18 14:45:48 +0000 |
commit | dc02a4814a90be9f948bc921254c35b63d764dcc (patch) | |
tree | 9a9e2316a8041936d0bbb0dc8c23cf9b53b8c434 /src/backend/utils/adt/arrayfuncs.c | |
parent | a4775a80fd444162ff878d2e945c8af7ba37eb89 (diff) | |
download | postgresql-dc02a4814a90be9f948bc921254c35b63d764dcc.tar.gz postgresql-dc02a4814a90be9f948bc921254c35b63d764dcc.zip |
Fix a race condition that I introduced into sinvaladt.c during the recent
rewrite. When called from SIInsertDataEntries, SICleanupQueue releases
the write lock if it has to issue a kill() to signal some laggard backend.
That still seems like a good idea --- but it's possible that by the time
we get the lock back, there are no longer enough free message slots to
satisfy SIInsertDataEntries' requirement. Must recheck, and repeat the
whole SICleanupQueue process if not. Noted while reading code.
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions