]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/postgresql/templates/default/postgresql.conf.erb
Merge pull request #364 from osm-hr/html-torrents
[chef.git] / cookbooks / postgresql / templates / default / postgresql.conf.erb
index 0096c2bf2ad33a3295e153f52d34654cb8b8f664..e2892f68a888d04cf6ae857d181528787564ca05 100644 (file)
@@ -86,7 +86,9 @@ archive_command = '<%= @settings[:archive_command] || @defaults[:archive_command
 # - Sending Server(s) -
 
 max_wal_senders = <%= @settings[:max_wal_senders] || @defaults[:max_wal_senders] %>
+<% if @version.to_f >= 9.4 -%>
 max_replication_slots = <%= @settings[:max_replication_slots] || @defaults[:max_replication_slots] %>
+<% end -%>
 
 # - Standby Servers -