Commit 4c5923a 1 parent 6c130c3 commit 4c5923a Copy full SHA for 4c5923a
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ class CMDStandby(CMDWorker):
378
378
379
379
# Simple function to help ensure we have all paths created for postgresql
380
380
def dbinit_func (self ):
381
- check = standby .check_pgpid_func ()
381
+ check = self .check_pgpid_func ()
382
382
if check == 0 :
383
383
self .log ("dbinit_func(): Can not execute --dbinit with PG running locally" , "ERROR" )
384
384
return False
@@ -398,7 +398,7 @@ class CMDStandby(CMDWorker):
398
398
except Exception , e :
399
399
self .log ("dbinit_func(): %s " % e , "ERROR" )
400
400
else :
401
- self .log ("dbinit_func(): Standby is ready" )
401
+ self .log ("dbinit_func(): Standby filesystem is ready" )
402
402
return True
403
403
self .log ("dbinit_func(): failed" , "ERROR" )
404
404
return False
@@ -449,7 +449,7 @@ class CMDStandby(CMDWorker):
449
449
# check whether PostgreSQL has already started. Sleep to give it time to write
450
450
# the pid file.
451
451
sleep (2 )
452
- check = standby .check_pgpid_func ()
452
+ check = self .check_pgpid_func ()
453
453
if check != 0 :
454
454
self .log ("start_postgresql_func(): PostgreSQL refused to start" , "ERROR" )
455
455
return False
@@ -504,7 +504,7 @@ class CMDStandby(CMDWorker):
504
504
# and start postgresql
505
505
def standby_func (self ):
506
506
result = False
507
- check = standby .check_pgpid_func ()
507
+ check = self .check_pgpid_func ()
508
508
if check == 0 :
509
509
self .log ("standby_func(): Can not enter standby mode if PG is already running" , "ERROR" )
510
510
return False
You can’t perform that action at this time.
0 commit comments