postgresql/src/backend
Tom Lane 6ad86feecb 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
2022-08-04 14:10:06 -04:00
..
access Rephrase comments to make them clearer 2022-08-04 16:30:06 +02:00
bootstrap Process session_preload_libraries within InitPostgres's transaction. 2022-07-25 10:27:43 -04:00
catalog Move common catalog cache access routines to lsyscache.c 2022-08-02 10:47:22 +05:30
commands Fix formatting and comment typos 2022-08-04 16:41:29 +07:00
executor Add CHECK_FOR_INTERRUPTS in ExecInsert's speculative insertion loop. 2022-08-04 14:10:06 -04:00
foreign Create routine able to set single-call SRFs for Materialize mode 2022-03-07 10:26:29 +09:00
jit Improve performance of ORDER BY / DISTINCT aggregates 2022-08-02 23:11:45 +12:00
lib Fix lock assertions in dshash.c. 2022-07-11 16:43:29 +12:00
libpq Log details for client certificate failures 2022-07-15 17:04:48 +02:00
main Remove support for Visual Studio 2013 2022-07-14 11:22:49 +09:00
nodes Fix incorrect tests for SRFs in relation_can_be_sorted_early(). 2022-08-03 17:33:42 -04:00
optimizer Fix incorrect tests for SRFs in relation_can_be_sorted_early(). 2022-08-03 17:33:42 -04:00
parser Improve performance of ORDER BY / DISTINCT aggregates 2022-08-02 23:11:45 +12:00
partitioning Have ExecFindPartition cache the last found partition 2022-08-02 09:55:27 +12:00
po NLS: Put list of available languages into LINGUAS files 2022-07-13 08:19:17 +02:00
port Emulate sigprocmask(), not sigsetmask(), on Windows. 2022-07-16 17:03:38 +12:00
postmaster Reduce overhead of renaming archive status files. 2022-07-26 16:00:18 +09:00
regex Remove redundant null pointer checks before free() 2022-07-03 11:47:15 +02:00
replication Clean up some residual confusion between OIDs and RelFileNumbers. 2022-07-28 10:20:29 -04:00
rewrite Replace many MemSet calls with struct initialization 2022-07-16 08:50:49 +02:00
snowball Move snowball_create.sql creation into perl file 2022-07-18 12:24:27 -07:00
statistics Invent qsort_interruptible(). 2022-07-12 16:30:36 -04:00
storage Use TRUNCATE to preserve relfilenode for pg_largeobject + index. 2022-07-28 16:03:42 -04:00
tcop Force immediate commit after CREATE DATABASE etc in extended protocol. 2022-07-26 13:07:03 -04:00
tsearch Invent qsort_interruptible(). 2022-07-12 16:30:36 -04:00
utils Change type "char"'s I/O format for non-ASCII characters. 2022-08-02 10:29:35 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Automatically generate node support functions 2022-07-09 08:53:59 +02:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
nls.mk NLS: Put list of available languages into LINGUAS files 2022-07-13 08:19:17 +02:00