From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Properly check interrupts in execScan.c. |
Date: | 2017-09-14 09:06:20 |
Message-ID: | E1dsQ6G-000179-MF@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/253c8afc9eb178b7241b4cc571acf7fb6ac6f976
Modified Files
--------------
src/backend/executor/execScan.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2017-09-14 15:06:51 | pgsql: Set partitioned_rels appropriately when UNION ALL is used. |
Previous Message | Andres Freund | 2017-09-14 09:06:18 | pgsql: Properly check interrupts in execScan.c. |