reactive-tech / kubegres

Kubegres is a Kubernetes operator allowing to deploy one or many clusters of PostgreSql instances and manage databases replication, failover and backup.
https://www.kubegres.io
Apache License 2.0
1.32k stars 74 forks source link

Issue with /etc/postgres.conf file when using postgres 14.5 #136

Open rlagoue opened 2 years ago

rlagoue commented 2 years ago

When working with version postgres 14.5 I faced 2 issues, which I managed to solve on my installation

On start postgresql complained with the file /etc/postgres.conf (line 1). I solved it by removing the empty line (the one at line 1) on the default configuration for /etc/postgres.conf

After a retry I got another issue at line 4 Unrecognized settings at line 4 This was caused by the attempt to set a value for "wal_keep_segments". But as specified here, this property has been renamed to "wal_keep_size" starting version 13 upwards.

I renamed this property and checked the remaining one before giving another try. And it worked