Geo: `checkpoint_segments` is no longer a config option in PostgreSQL 9.5+
The Geo documentation includes the checkpoint_segments
option, but this is no longer supported in PostgreSQL 9.5+:
unrecognized configuration parameter "checkpoint_segments" in file "/home/stanhu/gdk-ee/postgresql/data/postgresql.conf" line 66
See: https://www.postgresql.org/docs/9.6/static/release-9-5.html
Replace configuration parameter checkpoint_segments with min_wal_size and max_wal_size (Heikki Linnakangas)
If you previously adjusted checkpoint_segments, the following formula will give you an approximately equivalent setting:
max_wal_size = (3 * checkpoint_segments) * 16MB Note that the default setting for max_wal_size is much higher than the default checkpoint_segments used to be, so adjusting it might no longer be necessary.
We should figure out how to handle this for GitLab 9.0, since it will default to PostgreSQL 9.6.
/cc: @brodock, @rspeicher, @dbalexandre, @marin, @ibaum