Fix recovery test hang in 021_row_visibility.pl on windows.
authorAndres Freund <andres@anarazel.de>
Mon, 1 Mar 2021 17:52:15 +0000 (09:52 -0800)
committerAndres Freund <andres@anarazel.de>
Mon, 1 Mar 2021 19:25:24 +0000 (11:25 -0800)
commit1e6e40447115ca7b4749d7d117b81b016ee5e2c2
treef76c4b72e7b351303a247e2c61fa513c65824725
parentf5a5773a9dc4185414fe538525e20d8512c2ba35
Fix recovery test hang in 021_row_visibility.pl on windows.

The psql processes were not explicitly killed (but would eventually
exit due postgres shutting down). For some reason windows perl doesn't
like that, resulting in errors like
Warning: unable to close filehandle GEN20 properly: Bad file descriptor during global destruction.

The test was introduced in d6734a897e3, so no backpatching necessary.
src/test/recovery/t/021_row_visibility.pl