aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2025-03-15 12:30:07 -0400
committerAndres Freund <andres@anarazel.de>2025-03-15 22:07:48 -0400
commitdd6f2618f681e699cb5f2122a3f036beaa89f992 (patch)
tree2349ca577965fe2ec074c0eb86aeb4861612adde /src/backend/access/gist
parent0762a151b0e018944694ccac07e521adcdf7a06f (diff)
downloadpostgresql-dd6f2618f681e699cb5f2122a3f036beaa89f992.tar.gz
postgresql-dd6f2618f681e699cb5f2122a3f036beaa89f992.zip
localbuf: Introduce TerminateLocalBufferIO()
Previously TerminateLocalBufferIO() was open-coded in multiple places, which doesn't seem like a great idea. While TerminateLocalBufferIO() currently is rather simple, an upcoming patch requires additional code to be added to TerminateLocalBufferIO(), making this modification particularly worthwhile. For some reason FlushRelationBuffers() previously cleared BM_JUST_DIRTIED, even though that's never set for temporary buffers. This is not carried over as part of this change. Reviewed-by: Melanie Plageman <melanieplageman@gmail.com> Discussion: https://postgr.es/m/CAAKRu_b9anbWzEs5AAF9WCvcEVmgz-1AkHSQ-CLLy-p7WHzvFw@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions