diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-08-04 14:10:06 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-08-04 14:10:06 -0400 |
commit | 4c7b16312ea3381b04a412c91f1e882cd928806e (patch) | |
tree | b3864c6cd8fa75f7ddd4b1b70c734c5ed737f611 /src/backend/access/gist/gistvalidate.c | |
parent | 11e7d626cee43cf1eb5dd214ef001dfba38ea2a3 (diff) | |
download | postgresql-4c7b16312ea3381b04a412c91f1e882cd928806e.tar.gz postgresql-4c7b16312ea3381b04a412c91f1e882cd928806e.zip |
Add CHECK_FOR_INTERRUPTS in ExecInsert's speculative insertion loop.
Ordinarily the functions called in this loop ought to have plenty
of CFIs themselves; but we've now seen a case where no such CFI is
reached, making the loop uninterruptible. Even though that's from
a recently-introduced bug, it seems prudent to install a CFI at
the loop level in all branches.
Per discussion of bug #17558 from Andrew Kesper (an actual fix for
that bug will follow).
Discussion: https://postgr.es/m/17558-3f6599ffcf52fd4a@postgresql.org
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions