Class ReplicationMessage
- Namespace
- Npgsql.Replication
- Assembly
- Npgsql.dll
The common base class for all streaming replication messages
public abstract class ReplicationMessage
- Inheritance
-
ReplicationMessage
- Derived
- Inherited Members
Properties
ServerClock
The server's system clock at the time this message was transmitted, as microseconds since midnight on 2000-01-01.
public DateTime ServerClock { get; }
Property Value
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 Kind if you don't want to introduce behavior depending on Npgsql versions.
WalEnd
The current end of WAL on the server.
public NpgsqlLogSequenceNumber WalEnd { get; }
Property Value
WalStart
The starting point of the WAL data in this message.
public NpgsqlLogSequenceNumber WalStart { get; }