I have a question: What happens if replication is configured from a primary Postgres server to a deviated standby server?
To explain more: Lets say I did a PITR restore from a 1-week-old backup on a new standby server, and Postgres started well after fetching then needed WALs from the archive server and having a legit valid checkpoint; so now the standby is in a point of 1-week old.
Then I configured the standby to have streaming WALs from the primary, which has been operating normally for this week since the backup was taken. What will happen considering they are not on the same point?