We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f436888 commit 7925496Copy full SHA for 7925496
src/delete.c
@@ -139,7 +139,7 @@ do_retention_purge(void)
139
if (retention_window > 0)
140
elog(LOG, "WINDOW=%u", retention_window);
141
142
- if (retention_redundancy == 0 && retention_window == 0)
+ if (retention_redundancy == 0 && retention_window == 0 && !delete_wal)
143
{
144
elog(WARNING, "Retention policy is not set");
145
return 0;
0 commit comments