diff options
author | Robert Haas <rhaas@postgresql.org> | 2014-06-23 21:45:21 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2014-06-23 21:45:21 -0400 |
commit | c922353b1c7e7fe5fa506664ccf0c87a0abfdda2 (patch) | |
tree | c9ee8f64beddbf27dcb7a2e56c7ac5356a991bc1 /src/backend/utils/adt/jsonfuncs.c | |
parent | 631e7f6b4e0629077408d3f8caf282627765f3f0 (diff) | |
download | postgresql-c922353b1c7e7fe5fa506664ccf0c87a0abfdda2.tar.gz postgresql-c922353b1c7e7fe5fa506664ccf0c87a0abfdda2.zip |
Check for interrupts during tuple-insertion loops.
Normally, this won't matter too much; but if I/O is really slow, for
example because the system is overloaded, we might write many pages
before checking for interrupts. A single toast insertion might
write up to 1GB of data, and a multi-insert could write hundreds
of tuples (and their corresponding TOAST data).
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions