Further refinement of stuck_on_old_timeline recovery test
TestLib::perl2host can take a file argument as well as a directory
argument, so that code becomes substantially simpler. Also add comments
on why we're using forward slashes, and why we're setting
PERL_BADLANG=0.
Discussion: https://postgr.es/m/e9947bcd-20ee-027c-f0fe-01f736b7e345@dunslane.net
Branch
------
REL_13_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/d906d106f854c51f830af05fe95c71d2898bb6b4
Modified Files
--------------
src/test/recovery/t/025_stuck_on_old_timeline.pl | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)