servers::postgres::handler

Function send_warning_opt

source
async fn send_warning_opt<C>(
    client: &mut C,
    query_context: QueryContextRef,
) -> PgWireResult<()>
where C: Sink<PgWireBackendMessage> + Unpin + Send + Sync, C::Error: Debug, PgWireError: From<<C as Sink<PgWireBackendMessage>>::Error>,