[COMMITTERS] pgsql: Fix bogus coding in WaitForBackgroundWorkerShutdown().

2016-08-04 Thread Tom Lane
Fix bogus coding in WaitForBackgroundWorkerShutdown(). Some conditions resulted in "return" directly out of a PG_TRY block, which left the exception stack dangling, and to add insult to injury failed to restore the state of set_latch_on_sigusr1. This is a bug only in 9.5; in HEAD it was accidenta

[COMMITTERS] pgsql: Fix bogus coding in WaitForBackgroundWorkerShutdown().

2016-08-04 Thread Tom Lane
Fix bogus coding in WaitForBackgroundWorkerShutdown(). Some conditions resulted in "return" directly out of a PG_TRY block, which left the exception stack dangling, and to add insult to injury failed to restore the state of set_latch_on_sigusr1. This is a bug only in 9.5; in HEAD it was accidenta