type Back

bend-kit-postgres@0.3.0.0 · codec.bend:35

import bend-kit-postgres@0.3.0.0/codec.bend as Codec
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

35# Backend messages. AuthOther holds any other authentication code (MD5 is 5) and its payload.
36# ReadyForQuery status is 73 ('I'), 84 ('T') or 69 ('E'). Other holds a well-framed message of any other tag.
37type Back is Type:
38  AuthOk{}
39  AuthCleartext{}
40  AuthSASL{mechs: List<&1, Bytes.Bytes>}
41  AuthSASLContinue{data: Bytes.Bytes}
42  AuthSASLFinal{data: Bytes.Bytes}
43  AuthOther{code: U32, data: Bytes.Bytes}
44  ParameterStatus{name: Bytes.Bytes, value: Bytes.Bytes}
45  BackendKeyData{pid: U32, key: U32}
46  ReadyForQuery{status: U32}
47  RowDescription{fields: List<&1, Field>}
48  DataRow{cols: List<&1, Maybe<&1, Bytes.Bytes>>}
49  CommandComplete{tag: Bytes.Bytes}
50  ErrorResponse{fields: List<&1, Notice>}
51  NoticeResponse{fields: List<&1, Notice>}
52  ParseComplete{}
53  BindComplete{}
54  CloseComplete{}
55  NoData{}
56  EmptyQuery{}
57  PortalSuspended{}
58  Other{tag: U32, body: Bytes.Bytes}

Uses (6)

Used by (33)