Add interrupt checks to contrib/pg_prewarm.

Andres Freund <andres@anarazel.de>

Commit: 57b2e1049e7fdb0ca7882c74520e409507462eb2
Author: Andres Freund <andres@anarazel.de>
Date: 2014-11-12T20:06:32Z
Releases: 9.4.0
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

PathChange+/−
contrib/pg_prewarm/pg_prewarm.c modified +3 −0