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

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix recovery test hang in 021_row_visibility.pl on windows.
Date: 2021-03-01 19:42:41
Message-ID: E1lGoRF-0006bW-U9@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1e6e40447115ca7b4749d7d117b81b016ee5e2c2

Modified Files
--------------
src/test/recovery/t/021_row_visibility.pl | 4 ++++
1 file changed, 4 insertions(+)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2021-03-01 20:21:38 Re: pgsql: Fix recovery test hang in 021_row_visibility.pl on windows.
Previous Message Alvaro Herrera 2021-03-01 18:07:24 Re: pgsql: Add TID Range Scans to support efficient scanning ranges of TIDs