Add interrupt checks to contrib/pg_prewarm.
Andres Freund <andres@anarazel.de>
Add interrupt checks to contrib/pg_prewarm. Currently the extension's pg_prewarm() function didn't check interrupts once it started "warming" data. Since individual calls can take a long while it's important for them to be interruptible. Backpatch to 9.4 where pg_prewarm was introduced.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_prewarm/pg_prewarm.c | modified | +3 −0 |