pgsql: Ensure that a plpgsql LOOP with an empty body still executes at
pgsql: Ensure that a plpgsql LOOP with an empty body still executes at
От:
tgl@svr1.postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Ensure that a plpgsql LOOP with an empty body still executes at least
one CHECK_FOR_INTERRUPTS() call, so that you can control-C out of the
loop. Reported by Merlin Moncure.
Modified Files:
--------------
pgsql/src/pl/plpgsql/src:
pl_exec.c (r1.153 -> r1.154)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_exec.c.diff?r1=1.153&r2=1.154)