Interface ReplicationSlotRequest.PhysicalSlotRequestBuilder
- All Superinterfaces:
 ReplicationSlotRequest.PhysicalSlotRequestBuilderStep1, ReplicationSlotRequest.WithSlotName, ReplicationSlotRequest.WithTemporary
- Enclosing class:
 ReplicationSlotRequest
public static interface ReplicationSlotRequest.PhysicalSlotRequestBuilder
extends ReplicationSlotRequest.PhysicalSlotRequestBuilderStep1, ReplicationSlotRequest.WithTemporary
Fluent builder interface to configure a physical replication slot.
- 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the physicalReplicationSlotRequest.Replication slots provide an automated way to ensure that the primary does not remove WAL segments until they have been received by all standbys, and that the primary does not remove rows which could cause a recovery conflict even when the standby is disconnected.Temporary slots are not saved to disk and are automatically dropped on error or when the session has finished. 
- 
Method Details
- 
slotName
Replication slots provide an automated way to ensure that the primary does not remove WAL segments until they have been received by all standbys, and that the primary does not remove rows which could cause a recovery conflict even when the standby is disconnected.- Specified by:
 slotNamein interfaceReplicationSlotRequest.PhysicalSlotRequestBuilderStep1- Specified by:
 slotNamein interfaceReplicationSlotRequest.WithSlotName- Parameters:
 slotName- replication slot name for create, must not benullor empty- Returns:
 thisbuilder
 - 
temporary
Temporary slots are not saved to disk and are automatically dropped on error or when the session has finished.
This feature is only supported by PostgreSQL versions >= 10.
- Specified by:
 temporaryin interfaceReplicationSlotRequest.WithTemporary- Returns:
 thisbuilder
 - 
build
ReplicationSlotRequest build()Builds the physicalReplicationSlotRequest.- Returns:
 - the physical 
ReplicationSlotRequest. 
 
 -