Search Results for

    Show / Hide Table of Contents

    Class XLogDataMessage

    A message representing a section of the WAL data stream.

    Inheritance
    Object
    ReplicationMessage
    XLogDataMessage
    Inherited Members
    ReplicationMessage.WalStart
    ReplicationMessage.WalEnd
    ReplicationMessage.ServerClock
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Npgsql.Replication
    Assembly: Npgsql.dll
    Syntax
    public class XLogDataMessage : ReplicationMessage

    Properties

    Data

    A section of the WAL data stream that is raw WAL data in physical replication or decoded with the selected logical decoding plugin in logical replication. It is only valid until the next XLogDataMessage is requested from the stream.

    Declaration
    public Stream Data { get; }
    Property Value
    Type Description
    Stream
    Remarks

    A single WAL record is never split across two XLogData messages. When a WAL record crosses a WAL page boundary, and is therefore already split using continuation records, it can be split at the page boundary. In other words, the first main WAL record and its continuation records can be sent in different XLogData messages.

    In This Article
    Back to top © Copyright 2022 The Npgsql Development Team