]> granicus.if.org Git - postgresql/commit
Add interrupt checks to contrib/pg_prewarm.
authorAndres Freund <andres@anarazel.de>
Wed, 12 Nov 2014 17:52:49 +0000 (18:52 +0100)
committerAndres Freund <andres@anarazel.de>
Wed, 12 Nov 2014 20:06:32 +0000 (21:06 +0100)
commit57b2e1049e7fdb0ca7882c74520e409507462eb2
tree8eca934e124c24b4d29d3d1923a33813ec9adcb3
parentc4d360d18259690442036c1ee07a899cbe4022a0
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.
contrib/pg_prewarm/pg_prewarm.c