Class RelationMessage
Logical Replication Protocol relation message
Inheritance
object
RelationMessage
Inherited Members
Namespace: Npgsql.Replication.PgOutput.Messages
Assembly: Npgsql.dll
Syntax
public sealed class RelationMessage : TransactionalMessage
Properties
| Improve this Doc View SourceColumns
Relation columns
Declaration
public IReadOnlyList<RelationMessage.Column> Columns { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<><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 |
---|---|
uint |
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 |