]> granicus.if.org Git - postgresql/commit
Properly check interrupts in execScan.c.
authorAndres Freund <andres@anarazel.de>
Thu, 14 Sep 2017 08:53:10 +0000 (01:53 -0700)
committerAndres Freund <andres@anarazel.de>
Thu, 14 Sep 2017 09:00:14 +0000 (02:00 -0700)
commit1ab973ab600dc4295dbbd38d1643f9bd26f81d8e
treea1e684c8c5a471e6d036b9269e99826546e61da8
parentd2e40b310aea1050fd499f62f391329f2c331f6a
Properly check interrupts in execScan.c.

During the development of d47cfef711 the CFI()s in ExecScan() were
moved back and forth, ending up in the wrong place. Thus queries that
largely spend their time in ExecScan(), and have neither projection
nor a qual, can't be cancelled in a timely manner.

Reported-By: Jeff Janes
Author: Andres Freund
Discussion: https://postgr.es/m/CAMkU=1weDXp8eLLPt9SO1LEUsJYYK9cScaGhLKpuN+WbYo9b5g@mail.gmail.com
Backpatch: 10, as d47cfef711
src/backend/executor/execScan.c