pgsql: Add CHECK_FOR_INTERRUPTS() to the wait_pid() loop.
pgsql: Add CHECK_FOR_INTERRUPTS() to the wait_pid() loop.
От:
Noah Misch <noah@leadboat.com>
Дата:
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(+)