summaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2025-11-18 09:50:12 +0200
committerAlexander Korotkov <akorotkov@postgresql.org>2025-11-18 09:50:12 +0200
commit75e82b2f5a6f5de6b42dbd9ea73be5ff36a931b1 (patch)
tree5afe5c07b0e2872574b8ae0bf30b63ce989ab409 /src/tutorial/advanced.source
parent694b4ab33b24dfe1f9cc00fbbd5326f0feadee4a (diff)
Optimize shared memory usage for WaitLSNProcInfo
We need separate pairing heaps for different WaitLSNType's, because there might be waiters for different LSN's at the same time. However, one process can wait only for one type of LSN at a time. So, no need for inHeap and heapNode fields to be arrays. Discussion: https://postgr.es/m/CAPpHfdsBR-7sDtXFJ1qpJtKiohfGoj%3DvqzKVjWxtWsWidx7G_A%40mail.gmail.com Author: Alexander Korotkov <aekorotkov@gmail.com> Reviewed-by: Xuneng Zhou <xunengzhou@gmail.com>
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions