]> granicus.if.org Git - postgresql/commitdiff
Adjust worker_spi for 6f3bd98ebfc008cbd676da777bb0b2376c4c4bfa.
authorRobert Haas <rhaas@postgresql.org>
Tue, 4 Oct 2016 15:18:43 +0000 (11:18 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 4 Oct 2016 15:18:43 +0000 (11:18 -0400)
src/test/modules/worker_spi/worker_spi.c

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