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