Bug #5314

cmd_standby with start parameter doesn't work

Added by Michael Vitale 05/14/2015 (over 6 years) ago. Updated 10/22/2015 (over 6 years) ago.

Status:ClosedStart date:05/14/2015
Priority:NormalDue date:
Assignee:Eric Worden% Done:


Target version:-


If you try to run cmd_standby like this, you will see the problem.
$PITRTOOLS/bin/cmd_standby -C /home/postgres/pitrtools-1.3/etc/cmd_standby.ini -A start

code snippet with fix where I comment out self.copy_conf() since self is not within scope in the main body entry point.

  1. If we want to start or stop postgresql on the slave
    elif pgctl_action == 'start': ### mjv fix ### self.copy_conf()
    success = standby.copy_conf()


#1 Updated by Eric Worden 10/22/2015 (over 6 years) ago

  • Status changed from New to Closed
  • Assignee changed from Michael Vitale to Eric Worden
  • Resolution set to fixed

This issue affects the version referenced in the tarball linked in wiki, but not in the current master branch.


Also available in: Atom PDF