anchor.diff:  # The default values of these variables are driven from the -D command-line
   # option or PGDATA environment variable, represented here as ConfigDir.
   
  -data_directory = '<%= node.postgresql.data_dir -%>'		        # use data in another directory
  -hba_file       = '/etc/postgresql/<%= node.postgresql.version -%>/main/pg_hba.conf'	  # host-based authentication file
  -ident_file     = '/etc/postgresql/<%= node.postgresql.version -%>/main/pg_ident.conf'	# ident configuration file
  +data_directory = '<%= node.postgresql.data_dir -%>'                     # use data in another directory
  +hba_file       = '/etc/postgresql/<%= node.postgresql.version -%>/main/pg_hba.conf'       # host-based authentication file
  +ident_file     = '/etc/postgresql/<%= node.postgresql.version -%>/main/pg_ident.conf'   # ident configuration file
   
   # If external_pid_file is not explicitly set, no extra PID file is written.
  -external_pid_file = '/var/run/postgresql/<%= node.postgresql.version -%>-main.pid'		# write an extra PID file
  +external_pid_file = '/var/run/postgresql/<%= node.postgresql.version -%>-main.pid'              # write an extra PID file
   
   
   #------------------------------------------------------------------------------
  
positive.code: 
  # - When to Log -
  
  #client_min_messages = notice		# values in order of decreasing detail:
  					#   debug5
  					#   debug4
  					#   debug3
  					#   debug2
  					#   debug1
  					#   log
  					#   notice
  					#   warning
  					#   error
  
  #log_min_messages = notice		# values in order of decreasing detail:
  					#   debug5
  					#   debug4
  					#   debug3
  					#   debug2
  					#   debug1
  					#   info
  					#   notice
  					#   warning
  					#   error
  					#   log
  					#   fatal
  					#   panic
  
  #log_error_verbosity = default		# terse, default, or verbose messages
  
  #log_min_error_statement = error	# values in order of decreasing detail:
  				 	#   debug5
  					#   debug4
  					#   debug3
  					#   debug2
  					#   debug1
  				 	#   info
  					#   notice
  					#   warning
  					#   error
  					#   log
  					#   fatal
  					#   panic (effectively off)
  
  #log_min_duration_statement = -1	# -1 is disabled, 0 logs all statements
  					# and their durations, > 0 logs only
  					# statements running at least this time.
  
  #silent_mode = off			# DO NOT USE without syslog or
  					# logging_collector
  					# (change requires restart)
  
  # - What to Log -
  
  
negative.code: 
  # - Memory -
  
  shared_buffers = 24MB                   # min 128kB or max_connections*16kB
                                          # (change requires restart)
  #temp_buffers = 8MB                     # min 800kB
  #max_prepared_transactions = 5          # can be 0 or more
                                          # (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).
  #work_mem = 1MB                         # min 64kB
  #maintenance_work_mem = 16MB            # min 1MB
  #max_stack_depth = 2MB                  # min 100kB
  
  # - Free Space Map -
  
  <% if node.postgresql.version.to_f >= "8.4" %>
  <% # max_fsm_pages doesn't exist on 8.4+ %>
  #max_fsm_pages = 153600                 # min max_fsm_relations*16, 6 bytes each
                                          # (change requires restart)
  <% else %>
  max_fsm_pages = 153600                  # min max_fsm_relations*16, 6 bytes each
                                          # (change requires restart)
  <% end %>
  
  
  