Search Results for

    Show / Hide Table of Contents

    Class RelationMessage

    Logical Replication Protocol relation message

    Inheritance
    object
    ReplicationMessage
    PgOutputReplicationMessage
    TransactionalMessage
    RelationMessage
    Inherited Members
    TransactionalMessage.TransactionXid
    PgOutputReplicationMessage.ToString()
    ReplicationMessage.WalStart
    ReplicationMessage.WalEnd
    ReplicationMessage.ServerClock
    Namespace: Npgsql.Replication.PgOutput.Messages
    Assembly: Npgsql.dll
    Syntax
    public sealed class RelationMessage : TransactionalMessage

    Properties

    | Improve this Doc View Source

    Columns

    Relation columns

    Declaration
    public IReadOnlyList<RelationMessage.Column> Columns { get; }
    Property Value
    Type Description
    IReadOnlyList<><Column>
    | Improve this Doc View Source

    Namespace

    Namespace (empty string for pg_catalog).

    Declaration
    public string Namespace { get; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    RelationId

    ID of the relation.

    Declaration
    public uint RelationId { get; }
    Property Value
    Type Description
    uint
    | Improve this Doc View Source

    RelationName

    Relation name.

    Declaration
    public string RelationName { get; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    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
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team