]> granicus.if.org Git - postgresql/commit
Fix calculation of how many segments to retain for wal_keep_segments.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 8 Apr 2013 13:26:52 +0000 (16:26 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 8 Apr 2013 13:29:56 +0000 (16:29 +0300)
commit594041311c8263832258d35632aa3eebf9371fd1
treecb31038427ccf566be838e17285ee01ef0e0a099
parent5787c6730e7a848ef95d5c4194e27614ea8e6e41
Fix calculation of how many segments to retain for wal_keep_segments.

KeepLogSeg function was broken when we switched to use a 64-bit int for the
segment number.

Per report from Jeff Janes.
src/backend/access/transam/xlog.c