bend-kit-postgres
Search uses release 0.3.0.0 · 255 definitions
Definitions (255)
- type Confighost is a name or a numeric address; TLS checks the certificate against it.
- def configTLS on, 10 s deadlines.
- type ErrA server error: the SQLSTATE code (for example "42P01") and the message.
- type FailureA failed call closes its connection.
- type ReplyA query's result.
- type Connkey names the pool bucket: TLS, user, host, port, and db (never the password).
- def textA parameter in text format.
- def bytes
- def err.put
- def err.go
- def err.ofThe C (SQLSTATE) and M (message) fields of an ErrorResponse.
- def io.close
- def io.send
- def io.write
- def io.recv
- def io.close.after
- def closeSends Terminate, then closes the socket.
- def abort
- def reject
- def send.after
- def send
- type RdRNext holds the reader after its last decode attempt; RFail a socket to close.
- def got.len
- def got
- def read.fail
- def read.loopOne recv per step.
- def readThe next message.
- def replyThe next message after a send.
- def exchange
- def set.status
- def ready.loopBackendKeyData, then ReadyForQuery.
- def ready
- def auth.doneAuthenticationOk, after a password or the SCRAM exchange.
- def sasl.verified
- def sasl.finalAuthenticationSASLFinal carries the server signature, which proves the server knew the password.
- def sasl.respond
- def sasl.cont
- def sasl.first
- def sasl
- def has.mech
- def authThe first message after StartupMessage picks the authentication method.
- def startup
- def tls.done
- def plain.fail
- def ssl.byte'S' starts TLS; 'N' refuses it.
- def ssl.answerThe answer is one byte, read alone so no byte sent before the TLS handshake is taken as data.
- def ssl.sent
- def ssl.ask
- def dialed
- def dial.after
- def dial.more
- def dialEach address in turn, until one connects.
- def key
- def connect.to
- def connectTCP, SSLRequest and TLS when cfg.tls (checking the certificate and host name), StartupMessage, cleartext or SCRAM-SHA-256 authentication, then ReadyForQuery.
- type Acc
- type Step
- def acc.fields
- def acc.rowRows are kept newest first until ReadyForQuery.
- def acc.tag
- def err.first
- def acc.err
- def absorb
- def absorbed
- def finish
- def collectAfter an ErrorResponse the server skips to Sync, so reading on to ReadyForQuery keeps the connection in step.