This commit is contained in:
Steven Fackler 2019-01-03 21:14:16 -08:00
parent 9e25e47fe0
commit b2f1d51451

View File

@ -92,8 +92,7 @@ where
}
let mut buf = vec![];
frontend::startup_message(params.iter().map(|e| (e.0, e.1)), &mut buf)
.map_err(Error::encode)?;
frontend::startup_message(params, &mut buf).map_err(Error::encode)?;
let stream = Framed::new(stream, PostgresCodec);