/
dev-npgsql
/
npgsql
Обзор
Документация
Войти
/
dev-npgsql
/
npgsql
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
test-logs
src/Npgsql/Replication/TestDecoding/TestDecodingReplicationSlot.cs
33 строки
1 KB
Nino Floris
Remove obsolete UTF-8 BOMs (#6542)
13 апр 2026, 17:13
Не верифицирован
13 апр 2026, 17:13
5225216
Код
Авторство
О чём код?
using Npgsql.Replication.Internal; namespace Npgsql.Replication.TestDecoding; /// <summary> /// Acts as a proxy for a logical replication slot /// initialized for for the test_decoding logical decoding plugin. /// </summary> public class TestDecodingReplicationSlot : LogicalReplicationSlot { /// <summary> /// Creates a new <see cref="TestDecodingReplicationSlot"/> instance. /// </summary> /// <remarks> /// Create a <see cref="TestDecodingReplicationSlot"/> instance with this /// constructor to wrap an existing PostgreSQL replication slot that has /// been initialized for the test_decoding logical decoding plugin. /// </remarks> /// <param name="slotName">The name of the existing replication slot</param> public TestDecodingReplicationSlot(string slotName) : this(new ReplicationSlotOptions(slotName)) { } /// <summary> /// Creates a new <see cref="TestDecodingReplicationSlot"/> instance. /// </summary> /// <remarks> /// Create a <see cref="TestDecodingReplicationSlot"/> instance with this /// constructor to wrap an existing PostgreSQL replication slot that has /// been initialized for the test_decoding logical decoding plugin. /// </remarks> /// <param name="options">The <see cref="ReplicationSlotOptions"/> representing the existing replication slot</param> public TestDecodingReplicationSlot(ReplicationSlotOptions options) : base("test_decoding", options) { } }