/
dev-npgsql
/
npgsql
Обзор
Документация
Войти
/
dev-npgsql
/
npgsql
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
v5.0.18
src/Npgsql/Replication/LogicalSlotSnapshotInitMode.cs
26 строк
880 B
Brar Piening
Implement the PostgreSQL Streaming Replication Protocol
08 ноя 2020, 22:16
Не верифицирован
08 ноя 2020, 22:16
5a3b020
Код
Авторство
О чём код?
namespace Npgsql.Replication { /// <summary> /// Decides what to do with the snapshot created during logical slot initialization. /// </summary> public enum LogicalSlotSnapshotInitMode { /// <summary> /// Export the snapshot for use in other sessions. This is the default. /// This option can't be used inside a transaction. /// </summary> Export = 0, /// <summary> /// Use the snapshot for the current transaction executing the command. /// This option must be used in a transaction, and CREATE_REPLICATION_SLOT must be the first command run /// in that transaction. /// </summary> Use = 1, /// <summary> /// Just use the snapshot for logical decoding as normal but don't do anything else with it. /// </summary> NoExport = 2 } }