# `Replicant.SessionIdentity`
[🔗](https://github.com/baselabs/replicant/blob/v1.2.3/lib/replicant/session_identity.ex#L1)

Identity reported by PostgreSQL's `IDENTIFY_SYSTEM` command on the exact
replication connection that will issue `START_REPLICATION`.

This is the authoritative source boundary for a sink that binds durable
checkpoint state to a PostgreSQL system and database. It is discovered again
on every reconnect. Do not substitute values read from a separate connection.

# `t`

```elixir
@type t() :: %Replicant.SessionIdentity{
  current_lsn: Replicant.lsn(),
  database: String.t(),
  system_identifier: String.t(),
  timeline_id: non_neg_integer()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
