Table of Contents

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

IReadOnlyList<RelationMessage.Column>

Namespace

Namespace (empty string for pg_catalog).

public string Namespace { get; }

Property Value

string

RelationId

ID of the relation.

public uint RelationId { get; }

Property Value

uint

RelationName

Relation name.

public string RelationName { get; }

Property Value

string

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; }

Property Value

RelationMessage.ReplicaIdentitySetting