Обсуждение: [pgjdbc/pgjdbc] 84e8d9: feat: return info on create slot ofreplication (#...
[pgjdbc/pgjdbc] 84e8d9: feat: return info on create slot ofreplication (#...
От
Jorge Solorzano
Дата:
Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 84e8d90b4bbeecbdccbe7ec4d165cfaf3ef30bf4 https://github.com/pgjdbc/pgjdbc/commit/84e8d90b4bbeecbdccbe7ec4d165cfaf3ef30bf4 Author: Jorge Solorzano <jorsol@gmail.com> Date: 2018-11-22 (Thu, 22 Nov 2018) Changed paths: A pgjdbc/src/main/java/org/postgresql/replication/ReplicationSlotInfo.java M pgjdbc/src/main/java/org/postgresql/replication/fluent/ChainedCommonCreateSlotBuilder.java M pgjdbc/src/main/java/org/postgresql/replication/fluent/logical/LogicalCreateSlotBuilder.java M pgjdbc/src/main/java/org/postgresql/replication/fluent/physical/PhysicalCreateSlotBuilder.java M pgjdbc/src/test/java/org/postgresql/replication/ReplicationSlotTest.java Log Message: ----------- feat: return info on create slot of replication (#1335) The CREATE_REPLICATION_SLOT replication command returns the following info: slot_name, consistent_point, snapshot_name, output_plugin. This info can be valuable, in particular snapshot_name is exported to allow a consistent snapshot in some uses cases that require it. A new class ReplicationSlotInfo is being returned now to provide easy access to the values. **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.