anchor.diff:            # requires logging_collector to be on.
   
   # This is used when logging to stderr:
  -#logging_collector = <%= node["postgresql"]["logging_collector"] %>    # Enable capturing of stderr and csvlog
  +<%- if node["postgresql"]["logging_collector"] %>
  +logging_collector = <%= node["postgresql"]["logging_collector"] %>    # Enable capturing of stderr and csvlog
  +<%- end %>
             # into log files. Required to be on for
             # csvlogs.
             # (change requires restart)
  
positive.code: shared_buffers = <%= node["postgresql"]["shared_buffers"] %>     # min 128kB
            # (change requires restart)
  #temp_buffers = <%= node["postgresql"]["temp_buffers"] %>     # min 800kB
  #max_prepared_transactions = <%= node["postgresql"]["max_prepared_transactions"] %>    # zero disables the feature
            # (change requires restart)
  # Note:  Increasing max_prepared_transactions costs ~600 bytes of shared memory
  # per transaction slot, plus lock space (see max_locks_per_transaction).
  # It is not advisable to set max_prepared_transactions nonzero unless you
  # actively intend to use prepared transactions.
  #work_mem = <%= node["postgresql"]["work_mem"] %>       # min 64kB
  #maintenance_work_mem = <%= node["postgresql"]["maintenance_work_mem"] %>    # min 1MB
  #max_stack_depth = <%= node["postgresql"]["max_stack_depth"] %>      # min 100kB
  
  # - Kernel Resource Usage -
  
  #max_files_per_process = <%= node["postgresql"]["max_files_per_process"] %>   # min 25
            # (change requires restart)
  #shared_preload_libraries = '<%= node["postgresql"]["shared_preload_libraries"] %>'    # (change requires restart)
  
  
negative.code:           #   fsync_writethrough
            #   open_sync
  #full_page_writes = <%= node["postgresql"]["full_page_writes"] %>      # recover from partial page writes
  <%- if node["postgresql"]["wal_buffers"] %>
  wal_buffers = <%= node["postgresql"]["wal_buffers"] %>     # min 32kB, -1 sets based on shared_buffers
  <%- end %>
            # (change requires restart)
  #wal_writer_delay = <%= node["postgresql"]["wal_writer_delay"] %>   # 1-10000 milliseconds
  
  