You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-06-20 01:17:49 +02:00
Fixed for OSX. Do not every use TextEditor on code!
This commit is contained in:
+2
-1
@@ -27,7 +27,7 @@ sub pg_create
|
||||
sub pg_start
|
||||
{
|
||||
local($strPath) = @_;
|
||||
my $strCommand = $strPgBinPath . "pg_ctl start -o \”-c wal_level=archive -c archive_mode=on -c archive_command='test ! -f $strPath/archive/%f && cp %p $strPath/archive/%f'\" -D $strPath -l $strPath/postgresql.log -w -s";
|
||||
my $strCommand = $strPgBinPath . "pg_ctl start -o \"-c port=6000 -c wal_level=archive -c archive_mode=on -c archive_command='test ! -f $strPath/archive/%f && cp %p $strPath/archive/%f'\" -D $strPath -l $strPath/postgresql.log -w -s";
|
||||
|
||||
execute($strCommand);
|
||||
}
|
||||
@@ -52,3 +52,4 @@ pg_stop("/Users/dsteele/test/test2");
|
||||
pg_drop("/Users/dsteele/test/test2");
|
||||
pg_create("/Users/dsteele/test/test2");
|
||||
pg_start("/Users/dsteele/test/test2");
|
||||
pg_stop("/Users/dsteele/test/test2");
|
||||
|
||||
Reference in New Issue
Block a user