API Reference minato v#0.18.6

View Source

Modules

The interface a caller uses: a pool, and queries against it.

The application. Starts the supervisor, which starts whatever pools the environment declares.

The authentication exchange, as a fold over the messages the server sends.

Erlang terms to PostgreSQL wire bytes and back, for both the binary and the text wire format.

Codec for array types.

Codecs for date, time, timestamp and timestamptz.

Codec for numeric.

Codecs for the scalar types that are not temporal and not numeric: bool, bytea, int2, int4, int8, float4, float8, text, varchar, json, jsonb and uuid.

One connection to a PostgreSQL server, owned by the process that opened it.

LISTEN on a connection of its own, delivered to subscribing processes.

PostgreSQL type OIDs and the mapping between an array type and its element type.

A pool of connections, handed out one caller at a time.

The PostgreSQL frontend/backend protocol, version 3.0, as a pure function of bytes.

Decoders for the messages a PostgreSQL server sends to a client.

Encoders for the messages a client sends to a PostgreSQL server.

Running SQL on a connection, in both of the protocol's two query paths.

SASLprep (RFC 4013) preparation of a password, as far as OTP can carry it.

SCRAM-SHA-256 (RFC 5802, RFC 7677) as a pure function of messages.

The supervisor over the pools.

Every event minato emits, in one module.

Transactions on a connection.