pgsql: Add CHECK_FOR_INTERRUPTS() to the wait_pid() loop.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add CHECK_FOR_INTERRUPTS() to the wait_pid() loop.
Date: 2015-03-07 05:54:28
Message-ID: E1YU7gy-0007ab-Eu@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add CHECK_FOR_INTERRUPTS() to the wait_pid() loop.

Though the one contemporary caller uses it in a limited way, this
function could loop indefinitely if pointed to an arbitrary PID.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/93751570731ba08dca4e791234984c3b1a15e885

Modified Files
--------------
src/test/regress/regress.c | 3 +++
1 file changed, 3 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-03-08 15:51:09 pgsql: Fix erroneous error message for REINDEX SYSTEM.
Previous Message Peter Eisentraut 2015-03-07 04:43:00 pgsql: Remove rolcatupdate