unmbt/ciallo-driver-pg/proto does not have a README file
pub(all) enum BackendMessage {
Authentication(AuthRequest)
BackendKeyData(process_id~ : Int, secret_key~ : Int)
ParameterStatus(name~ : String, value~ : String)
ReadyForQuery(status~ : Byte)
ParseComplete
BindComplete
CloseComplete
EmptyQueryResponse
NoData
ParameterDescription(Array[Int])
RowDescription(Array[FieldDesc])
DataRow(Array[Bytes?])
CommandComplete(String)
ErrorResponse(PgErrorFields)
NoticeResponse(PgErrorFields)
PortalSuspended
Unknown(tag~ : Byte, payload~ : Bytes)
} derive(Eq, Debug)pub struct PgDecoder {
// private fields
}pub struct ScramClient {
// private fields
}fn ScramClient::ScramClient(user~ : String, password~ : String, client_nonce~ : String) -> ScramClientfn ScramClient::process_server_first(self : ScramClient, server_first_bytes : BytesView) -> Bytes raise DataErrorfn ScramClient::verify_server_final(self : ScramClient, server_final_bytes : BytesView) -> Unit raise DataErrorfn encode_cancel_request(process_id~ : Int, secret_key~ : Int) -> Bytesfn encode_close(target~ : Byte, name~ : String) -> Bytesfn encode_describe(target~ : Byte, name~ : String) -> Bytesfn encode_execute(portal_name~ : String, max_rows? : Int) -> Bytesfn encode_password_message(password : StringView) -> Bytesfn encode_sasl_initial_response(mechanism : StringView, initial_data : BytesView) -> Bytesfn encode_sasl_response(data : BytesView) -> Bytesfn encode_simple_query(sql : StringView) -> Bytesfn encode_ssl_request() -> Bytesfn parse_command_complete_rows(tag : StringView) -> Int64Install
Download zipPostgreSQL v3 wire driver (SCRAM-SHA-256, LRU prepared statement cache, cancellation propagation, TLS, and JS Serverless bridge) for unmbt/ciallo-orm