aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_ctl/t/001_start_stop.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_ctl/t/001_start_stop.pl')
-rw-r--r--src/bin/pg_ctl/t/001_start_stop.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_ctl/t/001_start_stop.pl b/src/bin/pg_ctl/t/001_start_stop.pl
index 4bfc23b93de..1d8d6bbb701 100644
--- a/src/bin/pg_ctl/t/001_start_stop.pl
+++ b/src/bin/pg_ctl/t/001_start_stop.pl
@@ -25,7 +25,7 @@ command_ok([ 'pg_ctl', 'initdb', '-D', "$tempdir/data", '-o', '-N' ],
'pg_ctl initdb');
command_ok([ $ENV{PG_REGRESS}, '--config-auth', "$tempdir/data" ],
'configure authentication');
-my $node_port = get_free_port();
+my $node_port = PostgresNode::get_free_port();
open my $conf, '>>', "$tempdir/data/postgresql.conf";
print $conf "fsync = off\n";
print $conf "port = $node_port\n";