aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
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
commit771ba90298e2b79a94678c96f7960274a7896feb (patch)
treede2f6d3bed8b2f2d5361b9f0ab61d3a3adbea9d6 /src/backend/executor/nodeModifyTable.c
parent4b4d33b9ea9ff6bdc813b5b7b1aa4a6a3a2a2d5c (diff)
downloadpostgresql-771ba90298e2b79a94678c96f7960274a7896feb.tar.gz
postgresql-771ba90298e2b79a94678c96f7960274a7896feb.zip
localbuf: Introduce StartLocalBufferIO()
To initiate IO on a shared buffer we have StartBufferIO(). For temporary table buffers no similar function exists - likely because the code for that currently is very simple due to the lack of concurrency. However, the upcoming AIO support will make it possible to re-encounter a local buffer, while the buffer already is the target of IO. In that case we need to wait for already in-progress IO to complete. This commit makes it easier to add the necessary code, by introducing StartLocalBufferIO(). 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/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions