git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 1c2d408) | patch
A session that does not have any live snapshots does not have to be waited for
Sat, 4 Apr 2009 17:40:36 +0000 (17:40 +0000)
Sat, 4 Apr 2009 17:40:36 +0000 (17:40 +0000)
commit c973051ae69228129aeb8eb413d451ba4b326cad
A session that does not have any live snapshots does not have to be waited for
when we are waiting for old snapshots to go away during a concurrent index
build. In particular, this rule lets us avoid waiting for
idle-in-transaction sessions.

This logic could be improved further if we had some way to wake up when
the session we are currently waiting for goes idle-in-transaction. However
that would be a significantly more complex/invasive patch, so it'll have to
wait for some other day.

Simon Riggs, with some improvements by Tom.
src/backend/commands/indexcmds.c diff | blob | blame | history
src/backend/storage/ipc/procarray.c diff | blob | blame | history
src/include/storage/lock.h diff | blob | blame | history
src/include/storage/procarray.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /