public static interface ReplicationSlotRequest.LogicalSlotRequestBuilder extends ReplicationSlotRequest.LogicalSlotRequestBuilderStep1, ReplicationSlotRequest.LogicalSlotRequestBuilderStep2, ReplicationSlotRequest.WithTemporary
| Modifier and Type | Method and Description |
|---|---|
ReplicationSlotRequest |
build()
Builds the logical
ReplicationSlotRequest. |
ReplicationSlotRequest.LogicalSlotRequestBuilder |
slotName(String 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.
|
ReplicationSlotRequest.LogicalSlotRequestBuilder |
temporary()
Temporary slots are not saved to disk and are automatically dropped on error or when
the session has finished.
|
outputPluginReplicationSlotRequest.LogicalSlotRequestBuilder slotName(String slotName)
slotName in interface ReplicationSlotRequest.LogicalSlotRequestBuilderStep1slotName in interface ReplicationSlotRequest.WithSlotNameslotName - replication slot name for create, must not be null or emptythis builderReplicationSlotRequest.LogicalSlotRequestBuilder 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.
temporary in interface ReplicationSlotRequest.WithTemporarythis builderReplicationSlotRequest build()
ReplicationSlotRequest.ReplicationSlotRequest.Copyright © 2023. All rights reserved.