Adjust worker_spi for 6f3bd98ebf.

This commit is contained in:
Robert Haas 2016-10-04 11:18:43 -04:00
parent 6f3bd98ebf
commit 976a1ce910
1 changed files with 2 additions and 1 deletions

View 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 */