Adjust worker_spi for 6f3bd98ebf.

pull/17/head
Robert Haas 9 years ago
parent 6f3bd98ebf
commit 976a1ce910
  1. 3
      src/test/modules/worker_spi/worker_spi.c

@ -227,7 +227,8 @@ worker_spi_main(Datum main_arg)
*/ */
rc = WaitLatch(MyLatch, rc = WaitLatch(MyLatch,
WL_LATCH_SET | WL_TIMEOUT | WL_POSTMASTER_DEATH, WL_LATCH_SET | WL_TIMEOUT | WL_POSTMASTER_DEATH,
worker_spi_naptime * 1000L); worker_spi_naptime * 1000L,
WAIT_EXTENSION);
ResetLatch(MyLatch); ResetLatch(MyLatch);
/* emergency bailout if postmaster has died */ /* emergency bailout if postmaster has died */

Loading…
Cancel
Save