dpeq.constants

Constants of various nature.

Members

Aliases

ObjectID
alias ObjectID = int

oid. Unique identifier of a Psql object. Mostly used to identify a type in dpeq.

PgType
alias PgType = StaticPgTypes
Undocumented in source.

Enums

BackendMessageType
enum BackendMessageType

https://www.postgresql.org/docs/9.5/static/protocol-message-formats.html

FormatCode
enum FormatCode

Format of a marshalled value.

FrontMessageType
enum FrontMessageType

https://www.postgresql.org/docs/9.5/static/protocol-message-formats.html

StaticPgTypes
enum StaticPgTypes

Small portion of statically known ids of Psql types, wich is enough to start connection and request full type list.

TransactionStatus
enum TransactionStatus

Content of the ReadyForQuery response message, indicating backend transaction status.

Functions

pgTypeName
string pgTypeName(ObjectID pgt)

Returns postgress-compatible name of the type. Throws if type OID is unknown.

Meta

Authors

Boris-Barboris