Postgres

class Postgres(url: String, user: String?, password: String?) : WalkStore

Constructors

Link copied to clipboard
constructor(url: String, user: String?, password: String?)

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun inWalkOrder(count: Int, last: Boolean): List<String>

The walk's order is the version key's: aggregate id, then tenant.

Link copied to clipboard
open override fun settle()

Each its own transaction: a vacuum runs outside one.

Link copied to clipboard
open override fun unstamp(except: List<String>, walkRecord: Boolean)

Removes the access attributes from the history of every account but except, as an import writes a log. The account's walk record goes too, unless walkRecord keeps it: a run with nothing to walk.

Link copied to clipboard
open override fun waits(): Map<String, Int>

The active sessions of the database but this one, by wait event (CPU:running for none).

Link copied to clipboard
open override fun walk(): WalkRecord?

The account's walk record; null when none is recorded.