mirror of
https://github.com/postgres/postgres.git
synced 2025-08-08 06:02:22 +03:00
Remove the last vestiges of Exporter from PostgresNode
Clients wanting to call get_free_port now need to do so via a qualified name: PostgresNode::get_free_port().
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user