Skip to content

Commit c5fcd3d

Browse files
authored
Set max_slot_wal_keep_size to wal_keep_size by default (#610)
1 parent 14ecc6e commit c5fcd3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/v1/postgres_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -994,6 +994,7 @@ func setDefaultPostgresParams(parameters map[string]string, version string) {
994994
// Postgres 13 and up
995995
if v >= 13 {
996996
parameters["wal_keep_size"] = defaultPostgresParamValueWalKeepSize
997+
parameters["max_slot_wal_keep_size"] = defaultPostgresParamValueWalKeepSize
997998
} else {
998999
parameters["wal_keep_segments"] = defaultPostgresParamValueWalKeepSegments
9991000
}

0 commit comments

Comments
 (0)