type Conn
import bend-kit-postgres@0.3.0.0/postgres.bend as Postgresimport Base
import bend-kit-postgres@0.3.0.0/codec.bend as Codec
40# key names the pool bucket: TLS, user, host, port, and db (never the password).
41# status is the last ReadyForQuery byte: 73 'I' idle, 84 'T' in a transaction, 69 'E' failed one.
42type Conn is Type:
43 Conn{tls: Bool, sock: Socket, rd: Codec.Reader, key: String, ms: U32, status: U32}