pub async fn serve_with_handlers(
handlers: Arc<impl PgWireServerHandlers + Sync + Send + 'static>,
opts: &ServerOptions,
) -> Result<(), Error>
Expand description
Serve with custom pgwire handlers
This function allows you to rewrite some of the built-in logic including
authentication and query processing. You can Implement your own
PgWireServerHandlers
by reusing DfSessionService
.