Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
postgres: also fetch wals during pg_basebackup
Also fetch wals when calling pg_basebackup. We could also stream them but this will require an additional connection and wal sender so for now, since we are using replication slots, just rely on fetching at the end of the basebackup. This will fix pg_basebackup waiting indefinetly if archive mode is enabled but the archive command on the primary isn't working correctly.
- Loading branch information