Search Results for

    Show / Hide Table of Contents

    Class ReplicationMessage

    The common base class for all streaming replication messages

    Inheritance
    object
    ReplicationMessage
    PgOutputReplicationMessage
    TestDecodingData
    XLogDataMessage
    Namespace: Npgsql.Replication
    Assembly: Npgsql.dll
    Syntax
    public abstract class ReplicationMessage

    Properties

    | Improve this Doc View Source

    ServerClock

    The server's system clock at the time this message was transmitted, as microseconds since midnight on 2000-01-01.

    Declaration
    public DateTime ServerClock { get; }
    Property Value
    Type Description
    DateTime
    Remarks

    Since the client using Npgsql and the server may be located in different time zones, as of Npgsql 7.0 this value is no longer converted to local time but keeps its original value in UTC. You can check if you don't want to introduce behavior depending on Npgsql versions.

    | Improve this Doc View Source

    WalEnd

    The current end of WAL on the server.

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

    WalStart

    The starting point of the WAL data in this message.

    Declaration
    public NpgsqlLogSequenceNumber WalStart { get; }
    Property Value
    Type Description
    NpgsqlLogSequenceNumber
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team