dpeq.constants

Constants of various nature.

Members

Aliases

OID
alias OID = int

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

PgType
alias PgType = StaticPgTypes

ditto...

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(OID pgt)

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

Meta

Authors

Boris-Barboris