Use database page size in read replication

This commit is contained in:
Ben Johnson
2022-04-02 11:43:49 -06:00
parent 00bad4308d
commit 8d10881278
4 changed files with 140 additions and 115 deletions

View File

@@ -530,6 +530,7 @@ type StreamClient interface {
// StreamReader represents a reader that streams snapshot and WAL records.
type StreamReader interface {
io.ReadCloser
PageSize() int
Next() (*StreamRecordHeader, error)
}