SDK reference / Models / Databases

PostgresSession

Kind: class

Namespace: Egulu.Sdk.Models.Databases

One client session of the cluster, with its statement's values replaced by placeholders.

Properties

NameTypeJSON nameDescription
ApplicationNamestring?applicationNameThe applicationName property
BlockedByList<int?>?blockedByThe sessions that hold the locks this one waits for.
ClientAddressstring?clientAddressThe client's address.
Databasestring?databaseThe database property
Pidint?pidThe pid property
RoleNamestring?roleNameThe role the session signed in as.
RunningSecondsdouble?runningSecondsSeconds the current statement has run, or the session has been idle.
Statestring?stateactive, idle, idle in transaction, and so on, as PostgreSQL reports it.
Statementstring?statementThe running (or last) statement, placeholders for values, cut at 400 characters.
TransactionSecondsdouble?transactionSecondsSeconds the session's transaction has been open.
WaitEventstring?waitEventThe waitEvent property
WaitEventTypestring?waitEventTypeWhat the session waits on, for example Lock or IO.