pgsql: Add interrupt checks to contrib/pg_prewarm.

Started by Andres Freundover 11 years ago1 messagescomitters
Jump to latest
#1Andres 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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/bd4ae0f396b36955c92f26c0058e7dc0452db817

Modified Files
--------------
contrib/pg_prewarm/pg_prewarm.c | 3 +++
1 file changed, 3 insertions(+)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers