diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2022-02-20 08:55:06 -0500 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2022-02-20 10:35:49 -0500 |
commit | c27aa21e0dc89484fec38cd4e2189c6c1a5cf251 (patch) | |
tree | 1e9c623b63878e725bcde4561b24784eff068a9b /src/test/perl/PostgresNode.pm | |
parent | 46b738ffc2bf27c1c0bf0492f8c646c4496819dc (diff) | |
download | postgresql-c27aa21e0dc89484fec38cd4e2189c6c1a5cf251.tar.gz postgresql-c27aa21e0dc89484fec38cd4e2189c6c1a5cf251.zip |
Remove PostgreSQL::Test::Utils::perl2host completely
Commit f1ac4a74de disabled this processing, and as nothing has broken (as
expected) here we proceed to remove the routine and adjust all the call
sites.
Backpatch to release 10
Discussion: https://postgr.es/m/0ba775a2-8aa0-0d56-d780-69427cf6f33d@dunslane.net
Discussion: https://postgr.es/m/20220125023609.5ohu3nslxgoygihl@alap3.anarazel.de
Diffstat (limited to 'src/test/perl/PostgresNode.pm')
-rw-r--r-- | src/test/perl/PostgresNode.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm index b85068e0da1..d130d6fc817 100644 --- a/src/test/perl/PostgresNode.pm +++ b/src/test/perl/PostgresNode.pm @@ -975,7 +975,7 @@ primary_conninfo='$root_connstr' sub enable_restoring { my ($self, $root_node, $standby) = @_; - my $path = TestLib::perl2host($root_node->archive_dir); + my $path = $root_node->archive_dir; my $name = $self->name; print "### Enabling WAL restore for node \"$name\"\n"; @@ -1043,7 +1043,7 @@ sub set_standby_mode sub enable_archiving { my ($self) = @_; - my $path = TestLib::perl2host($self->archive_dir); + my $path = $self->archive_dir; my $name = $self->name; print "### Enabling WAL archiving for node \"$name\"\n"; |