Class RelationMessage
- Namespace
- Npgsql.Replication.PgOutput.Messages
- Assembly
- Npgsql.dll
Logical Replication Protocol relation message
public sealed class RelationMessage : TransactionalMessage
- Inheritance
-
RelationMessage
- Inherited Members
Properties
Columns
Relation columns
public IReadOnlyList<RelationMessage.Column> Columns { get; }
Property Value
Namespace
Namespace (empty string for pg_catalog).
public string Namespace { get; }
Property Value
RelationId
ID of the relation.
public uint RelationId { get; }
Property Value
RelationName
Relation name.
public string RelationName { get; }
Property Value
ReplicaIdentity
Replica identity setting for the relation (same as relreplident
in pg_class
):
columns used to form “replica identity” for rows.
public RelationMessage.ReplicaIdentitySetting ReplicaIdentity { get; }