Project

General

Profile

Bug #5314

cmd_standby with start parameter doesn't work

Added by Michael Vitale almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Eric Worden
Start date:
05/14/2015
Due date:
% Done:

0%

Estimated time:
Resolution:
fixed

Description

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 over 8 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.

Eric

Also available in: Atom PDF