Documentation ¶
Overview ¶
Package runner contains the runner that replicates slots from the primary to the replicas
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Replicator ¶
type Replicator struct {
// contains filtered or unexported fields
}
A Replicator is a runner that keeps replication slots in sync between the primary and this replica
func NewReplicator ¶
func NewReplicator(instance *postgres.Instance) *Replicator
NewReplicator creates a new slot Replicator
Click to show internal directories.
Click to hide internal directories.