public interface ReplicationProtocol
With each connection open with replication options associate own instance ReplicationProtocol.
Modifier and Type | Method and Description |
---|---|
PGReplicationStream |
startLogical(LogicalReplicationOptions options)
Starts logical replication.
|
PGReplicationStream |
startPhysical(PhysicalReplicationOptions options)
Starts physical replication.
|
PGReplicationStream startLogical(LogicalReplicationOptions options) throws java.sql.SQLException
options
- not null options for logical replication streamjava.sql.SQLException
- on errorPGReplicationStream startPhysical(PhysicalReplicationOptions options) throws java.sql.SQLException
options
- not null options for physical replication streamjava.sql.SQLException
- on errorCopyright © 2025 PostgreSQL Global Development Group. All rights reserved.