Got it thank you, so it is depends on wal_keep_seg irrespective to age of the file.
On Wed, Jan 30, 2019, 7:19 PM Scott Ribe <scott_ribe@xxxxxxxxxxxxxxxx wrote:
> On Jan 30, 2019, at 8:09 PM, rammohan ganapavarapu <rammohanganap@xxxxxxxxx> wrote:
>
> why is it keeping old files?
Because you configured it to:
wal_keep_segments=500