cmd_standby.diff

text/x-patch

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: context
File+
cmd_standby 2 2
*** cmd_standby.orig	Tue Dec 28 21:10:31 2010
--- cmd_standby	Thu Dec 30 05:20:04 2010
***************
*** 175,181 ****
  
  if debug == "on":
     ssh_flags = "-vvv -o ConnectTimeout=%s -o StrictHostKeyChecking=no" % (str(ssh_timeout))
!    rsync_flags = "-avzl --delete --stats --exclude=backup_label"
     pg_standby_flags = "-s5 -w0 -d -c"
     if pgversion == '8.2':
       pg_standby_args = "%%f %%p -k%s" % (float(numarchives))
--- 175,181 ----
  
  if debug == "on":
     ssh_flags = "-vvv -o ConnectTimeout=%s -o StrictHostKeyChecking=no" % (str(ssh_timeout))
!    rsync_flags = "-a "
     pg_standby_flags = "-s5 -w0 -d -c"
     if pgversion == '8.2':
       pg_standby_args = "%%f %%p -k%s" % (float(numarchives))
***************
*** 184,190 ****
    
  else:
     ssh_flags = "-o ConnectTimeout=%s -o StrictHostKeyChecking=no" % (str(ssh_timeout))
!    rsync_flags = "-azl --delete --exclude=backup_label"
     pg_standby_flags = "-s5 -w0 -c"
     if pgversion == '8.2':
       pg_standby_args = "%%f %%p -k%s" % (float(numarchives))
--- 184,190 ----
    
  else:
     ssh_flags = "-o ConnectTimeout=%s -o StrictHostKeyChecking=no" % (str(ssh_timeout))
!    rsync_flags = "-azl "
     pg_standby_flags = "-s5 -w0 -c"
     if pgversion == '8.2':
       pg_standby_args = "%%f %%p -k%s" % (float(numarchives))