SGPostgresConfig documentation for wal_keep_segments and wal_keep_size is wrong?
In the Stackgres documentation for SGPostgresConfig , it says the following about default values:
wal_keep_segments: 96 # postgres > 13
# wal_keep_size=1536MB # postgres <= 13
But I believe it it should be the opposite; wal_keep_segments was deprecated after version 12, and wal_keep_size is the correct configuration value to use going forth. I find nothing about wal_keep_segments in the official Postgresql 16/17/18 documentation for replication values.
I have not checked whether the actual default values is different, but at least the documentation seems to be erroneous.