summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/pgstattuple/pgstatindex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/pgstattuple/pgstatindex.c b/contrib/pgstattuple/pgstatindex.c
index 0fc3ecff6a7..ceabd862a86 100644
--- a/contrib/pgstattuple/pgstatindex.c
+++ b/contrib/pgstattuple/pgstatindex.c
@@ -155,6 +155,8 @@ pgstatindex(PG_FUNCTION_ARGS)
Page page;
BTPageOpaque opaque;
+ CHECK_FOR_INTERRUPTS();
+
/* Read and lock buffer */
buffer = ReadBuffer(rel, blkno);
LockBuffer(buffer, BUFFER_LOCK_SHARE);