Payload of the 'reconnected' event a resilient client emits after it replaces a lost session. Session state (LISTEN channels, open transactions) does not survive; owners re-arm it on this event.

interface PostgresReconnectedEvent {
    at: number;
    attempts: number;
    connectionId: string;
    downtimeMs: number;
    generation: number;
}

Properties

at: number
attempts: number
connectionId: string
downtimeMs: number
generation: number