Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

A bit more sane defaults to postgresql config.

  • Loading branch information...
commit 500763b29e3743acad31c68266ca8963fe7f6570 1 parent f66c35b
Wayne E. Seguin wayneeseguin authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 postgresql/shell/functions
8 postgresql/shell/functions
@@ -94,8 +94,8 @@ postgresql_defaults()
94 94 string "postgresql/bind" default 0.0.0.0 as "bind" \
95 95 string "postgresql/port" default 5432 as "port" \
96 96 string "postgresql/syslog/facility" default "local0" as "syslog_facility"\
97   - string "postgresql/max/clients" default 128 as "max_clients" \
98   - string "postgresql/max/memory" default "128mb" as "max_memory" \
  97 + string "postgresql/max/clients" default 80 as "max_clients" \
  98 + string "postgresql/max/memory" default "128MB" as "max_memory" \
99 99 string "postgresql/max/slow" default 1024 as "max_slow" \
100 100 string "postgresql/log/slow" default 10000 as "log_slow" \
101 101 string "postgresql/service/bin_path" as "service_bin_path" default "${sm_path}/pkg/versions/postgresql/${package_version}/bin" \
@@ -107,13 +107,13 @@ postgresql_defaults()
107 107 string "postgresql/start/timeout" as "start_timeout" default "300" \
108 108 string "postgresql/replication/master" as "master" default "${master:-localhost}" \
109 109 string "postgresql/replication/replica" as "replica" default "" \
110   - string "postgresql/wal/buffers" as "wal_buffers" default "8MB" \
  110 + string "postgresql/wal/buffers" as "wal_buffers" default "16MB" \
111 111 string "postgresql/wal/writer_delay" as "wal_writer_delay" default "200ms" \
112 112 string "postgresql/wal/max_senders" as "wal_max_senders" default "5" \
113 113 string "postgresql/wal/keep_segments" as "wal_keep_segments" default "20" \
114 114 string "postgresql/checkpoint/segments" as "checkpoint_segments" default "100" \
115 115 string "postgresql/effective_cache_size" as "effective_cache_size" default "512MB" \
116   - string "postgresql/shared_buffers" as "shared_buffers" default "1GB" \
  116 + string "postgresql/shared_buffers" as "shared_buffers" default "128MB" \
117 117 string "postgresql/unix_socket_directory" as "unix_socket_directory" default "/tmp"
118 118
119 119 PGDATA="${service_data_path}"

0 comments on commit 500763b

Please sign in to comment.
Something went wrong with that request. Please try again.