mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-27 22:52:07 +02:00
Add a getter function for a PostgresNode install_path
Experience has shown this can be useful, and while not strictly necessary we should not normally expose the internals of PostgresNode objects.
This commit is contained in:
parent
1e8d89f880
commit
87076c4083
@ -302,6 +302,20 @@ sub backup_dir
|
||||
|
||||
=pod
|
||||
|
||||
=item $node->install_path()
|
||||
|
||||
The configured install path (if any) for the node.
|
||||
|
||||
=cut
|
||||
|
||||
sub install_path
|
||||
{
|
||||
my ($self) = @_;
|
||||
return $self->{_install_path};
|
||||
}
|
||||
|
||||
=pod
|
||||
|
||||
=item $node->info()
|
||||
|
||||
Return a string containing human-readable diagnostic information (paths, etc)
|
||||
|
Loading…
Reference in New Issue
Block a user