diff options
author | Andres Freund <andres@anarazel.de> | 2025-03-15 12:30:07 -0400 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2025-03-15 22:07:48 -0400 |
commit | 0762a151b0e018944694ccac07e521adcdf7a06f (patch) | |
tree | 8f35d676a1b07189810062a0d990c0da59e1c2e7 /src/backend/executor | |
parent | fa6af9b25e4b449e6e006d9b3434315c0e8e4402 (diff) | |
download | postgresql-0762a151b0e018944694ccac07e521adcdf7a06f.tar.gz postgresql-0762a151b0e018944694ccac07e521adcdf7a06f.zip |
localbuf: Introduce InvalidateLocalBuffer()
Previously, there were three copies of this code, two of them
identical. There's no good reason for that.
This change is nice on its own, but the main motivation is the AIO patchset,
which needs to add extra checks the deduplicated code, which of course is
easier if there is only one version.
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/executor')
0 files changed, 0 insertions, 0 deletions