mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03: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:
@ -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)
|
||||
|
Reference in New Issue
Block a user