don't create empty lines in recovery template
This commit is contained in:
parent
f040dd2d72
commit
79050c111b
1 changed files with 30 additions and 30 deletions
|
@ -1,47 +1,47 @@
|
|||
<% if @restore_command %>
|
||||
<% if @restore_command -%>
|
||||
restore_command = '<%= @restore_command %>'
|
||||
<% end %>
|
||||
<% if @archive_cleanup_command %>
|
||||
<% end -%>
|
||||
<% if @archive_cleanup_command -%>
|
||||
archive_cleanup_command = '<%= @archive_cleanup_command %>'
|
||||
<% end %>
|
||||
<% if @recovery_end_command %>
|
||||
<% end -%>
|
||||
<% if @recovery_end_command -%>
|
||||
recovery_end_command = '<%= @recovery_end_command %>'
|
||||
<% end %>
|
||||
<% end -%>
|
||||
|
||||
<% if @recovery_target_name %>
|
||||
<% if @recovery_target_name -%>
|
||||
recovery_target_name = '<%= @recovery_target_name %>'
|
||||
<% end %>
|
||||
<% if @recovery_target_time %>
|
||||
<% end -%>
|
||||
<% if @recovery_target_time -%>
|
||||
recovery_target_time = '<%= @recovery_target_time %>'
|
||||
<% end %>
|
||||
<% if @recovery_target_xid %>
|
||||
<% end -%>
|
||||
<% if @recovery_target_xid -%>
|
||||
recovery_target_xid = '<%= @recovery_target_xid %>'
|
||||
<% end %>
|
||||
<% if @recovery_target_inclusive %>
|
||||
<% end -%>
|
||||
<% if @recovery_target_inclusive -%>
|
||||
recovery_target_inclusive = <%= @recovery_target_inclusive %>
|
||||
<% end %>
|
||||
<% if @recovery_target %>
|
||||
<% end -%>
|
||||
<% if @recovery_target -%>
|
||||
recovery_target = '<%= @recovery_target %>'
|
||||
<% end %>
|
||||
<% if @recovery_target_timeline %>
|
||||
<% end -%>
|
||||
<% if @recovery_target_timeline -%>
|
||||
recovery_target_timeline = '<%= @recovery_target_timeline %>'
|
||||
<% end %>
|
||||
<% if @pause_at_recovery_target %>
|
||||
<% end -%>
|
||||
<% if @pause_at_recovery_target -%>
|
||||
pause_at_recovery_target = <%= @pause_at_recovery_target %>
|
||||
<% end %>
|
||||
<% end -%>
|
||||
|
||||
<% if @standby_mode %>
|
||||
<% if @standby_mode -%>
|
||||
standby_mode = <%= @standby_mode %>
|
||||
<% end %>
|
||||
<% if @primary_conninfo %>
|
||||
<% end -%>
|
||||
<% if @primary_conninfo -%>
|
||||
primary_conninfo = '<%= @primary_conninfo %>'
|
||||
<% end %>
|
||||
<% if @primary_slot_name %>
|
||||
<% end -%>
|
||||
<% if @primary_slot_name -%>
|
||||
primary_slot_name = '<%= @primary_slot_name %>'
|
||||
<% end %>
|
||||
<% if @trigger_file %>
|
||||
<% end -%>
|
||||
<% if @trigger_file -%>
|
||||
trigger_file = '<%= @trigger_file %>'
|
||||
<% end %>
|
||||
<% if @recovery_min_apply_delay %>
|
||||
<% end -%>
|
||||
<% if @recovery_min_apply_delay -%>
|
||||
recovery_min_apply_delay = <%= @recovery_min_apply_delay %>
|
||||
<% end %>
|
||||
<% end -%>
|
||||
|
|
Loading…
Reference in a new issue