Re: Requested WAL segment xxx has already been removed
Alexander Kukushkin <cyberdemn@gmail.com>
From: Alexander Kukushkin <cyberdemn@gmail.com>
To: Japin Li <japinli@hotmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-07-15T10:12:01Z
Lists: pgsql-hackers
On Tue, 15 Jul 2025 at 12:08, Japin Li <japinli@hotmail.com> wrote: > > IIRC, the standby will indefinitely attempt to connect for replication, > even > without restore_command configured. > That's correct. However right now it just results in an attempt to open the WAL segment in pg_wal and failing, what is cheap. Calling restore_command is more expensive and therefore the impact on resource usage will be bigger. Regards, -- Alexander Kukushkin