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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 25f4242) | patch
Clarify what is protected by WaitLSNLock
Sat, 6 Apr 2024 21:32:35 +0000 (00:32 +0300)
Sat, 6 Apr 2024 21:49:53 +0000 (00:49 +0300)
commit ee79928441e7e291532b833455ebfee27d7cab5c
Clarify what is protected by WaitLSNLock

Not just WaitLSNState.waitersHeap, but also WaitLSNState.procInfos and
updating of WaitLSNState.minWaitedLSN is protected by WaitLSNLock. There
is one now documented exclusion on fast-path checking of
WaitLSNProcInfo.inHeap flag.

Discussion: https://postgr.es/m/202404030658.hhj3vfxeyhft%40alvherre.pgsql
src/backend/commands/waitlsn.c diff | blob | blame | history
src/include/commands/waitlsn.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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