diff options
| author | Andrew Dunstan | 2021-07-29 09:58:08 +0000 |
|---|---|---|
| committer | Andrew Dunstan | 2021-07-29 09:58:08 +0000 |
| commit | 5dc932f9e7b7d1992abd33d1c519899dd1c30272 (patch) | |
| tree | 22d79c215b4a9909a067453ff4c0405dab865489 /src/bin | |
| parent | 201a76183e2056c2217129e12d68c25ec9c559c8 (diff) | |
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().
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/pg_ctl/t/001_start_stop.pl | 2 |
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"; |
