/
dev-npgsql
/
npgsql
Обзор
Документация
Войти
/
dev-npgsql
/
npgsql
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
test-logs
src/Npgsql/Replication/PgOutput/Messages/RelationMessageColumn.cs
35 строк
966 B
Nino Floris
Remove obsolete UTF-8 BOMs (#6542)
13 апр 2026, 17:13
Не верифицирован
13 апр 2026, 17:13
5225216
Код
Авторство
О чём код?
namespace Npgsql.Replication.PgOutput.Messages; /// <summary> /// Represents a column in a Logical Replication Protocol relation message /// </summary> public readonly struct RelationMessageColumn { internal RelationMessageColumn(byte flags, string columnName, uint dataTypeId, int typeModifier) { Flags = flags; ColumnName = columnName; DataTypeId = dataTypeId; TypeModifier = typeModifier; } /// <summary> /// Flags for the column. Currently can be either 0 for no flags or 1 which marks the column as part of the key. /// </summary> public byte Flags { get; } /// <summary> /// Name of the column. /// </summary> public string ColumnName { get; } /// <summary> /// ID of the column's data type. /// </summary> public uint DataTypeId { get; } /// <summary> /// Type modifier of the column (atttypmod). /// </summary> public int TypeModifier { get; } }