MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / ready

Method ready

src/pgwire/src/protocol.rs:1901–1905  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1899
1900 #[instrument(level = "debug")]
1901 async fn ready(&mut self) -> Result<State, io::Error> {
1902 let txn_state = self.adapter_client.session().transaction().into();
1903 self.send(BackendMessage::ReadyForQuery(txn_state)).await?;
1904 self.flush().await
1905 }
1906
1907 #[allow(clippy::too_many_arguments)]
1908 #[instrument(level = "debug")]

Callers 2

queryMethod · 0.45
syncMethod · 0.45

Calls 5

ReadyForQueryClass · 0.85
transactionMethod · 0.45
sessionMethod · 0.45
sendMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected