Fix recovery test hang in 021_row_visibility.pl on windows.

Andres Freund <andres@anarazel.de>

Commit: 1e6e40447115ca7b4749d7d117b81b016ee5e2c2
Author: Andres Freund <andres@anarazel.de>
Date: 2021-03-01T19:25:24Z
Releases: 14.0
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.

Files

PathChange+/−
src/test/recovery/t/021_row_visibility.pl modified +4 −0