On Tue, Jan 22, 2019 at 12:52 PM Andres Freund <andres@anarazel.de> wrote:
Hi,
On 2019-01-22 11:10:27 -0600, Jeremy Finzel wrote: > P.S. do heed the advice of the others and get more familiar with the docs > around WAL archiving.
Logical replication doesn't normally interact with WAL archiving in any way, so that seems orthogonal.
But he is manually removing WAL files via cron which should normally be held until the replication slot doesn't need it anymore. I do believe that is why he is getting errors. The suggestion is to rely on Postgres' WAL archiving rather than removing WAL files manually...