aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>1997-05-20 11:30:32 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>1997-05-20 11:30:32 +0000
commite7f7cf4a1c25178bf7df6f61d6908ffd22370ee2 (patch)
tree1ad33daf148252d8eb9ac024e39ba9a58c8f3726 /src/backend/access/gist/gist.c
parent4a8c3dddc364c6098e3740a201627f4b544ca274 (diff)
downloadpostgresql-e7f7cf4a1c25178bf7df6f61d6908ffd22370ee2.tar.gz
postgresql-e7f7cf4a1c25178bf7df6f61d6908ffd22370ee2.zip
1. LocalBufferSync(): set nextFreeLocalBuf to 0 - we're freeing
all local buffers @ xact commit, so accordingly nextFreeLocalBuf is first local buffer now. It helps to avoid unnecessary local buffer allocations in LocalBufferAlloc() latter ("memmory leaks" in 'order by'). 2. ResetLocalBufferPool() lost allocated local buffers: memset(LocalBufferDescriptors, 0, sizeof(BufferDesc) * NLocBuffer); (local buffers leak @ xact aborts).
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions