mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
Implemented issue #111: Add the psql path for *BSD.
Author: Eric Radman Modified by Committer
This commit is contained in:
parent
dcad0f7007
commit
760baab6b2
@ -158,7 +158,14 @@ my $strVersionSupport = versionSupport();
|
||||
|
||||
if (!defined($strPgSqlBin))
|
||||
{
|
||||
my @strySearchPath = ('/usr/lib/postgresql/VERSION/bin', '/usr/pgsql-VERSION/bin', '/Library/PostgreSQL/VERSION/bin');
|
||||
# Distribution-specific paths where the PostgreSQL binaries may be located
|
||||
my @strySearchPath =
|
||||
(
|
||||
'/usr/lib/postgresql/VERSION/bin', # Debian/Ubuntu
|
||||
'/usr/pgsql-VERSION/bin', # CentOS/RHEL/Fedora
|
||||
'/Library/PostgreSQL/VERSION/bin', # OSX
|
||||
'/usr/local/bin' # BSD
|
||||
);
|
||||
|
||||
foreach my $strSearchPath (@strySearchPath)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user