pgsql: Add CHECK_FOR_INTERRUPTS() to the wait_pid() loop. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Add CHECK_FOR_INTERRUPTS() to the wait_pid() loop.
Date
Msg-id E1YU7gy-0007ab-Eu@gemulon.postgresql.org
Whole thread Raw
List 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(+)


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: Build fls.o only when AC_REPLACE_FUNCS so dictates via $(LIBOBJS
Next
From: Tom Lane
Date:
Subject: pgsql: Fix erroneous error message for REINDEX SYSTEM.