`scram_iterations` embeds itself in each password when set and stays there forever, making it a per-password property masquerading as a server setting.
PostgreSQL's `restore_command` asks for WAL segments one at a time until the command fails—and that failure marks the archive's end, whether it's real or not.
Restore to the moment before the disaster using eight parameters that answer where replay stops, which timeline to follow, and what to do when you get there.