1
0
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:
David Steele
2013-11-20 22:24:30 -05:00
parent e67821a230
commit bc46aefe61
+2 -1
View File
@@ -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");