@@ -208,7 +208,7 @@ impl DfSessionService {
208208 ResourceType :: All
209209 }
210210
211- fn mock_show_response < ' a > ( name : & str , value : & str ) -> PgWireResult < QueryResponse < ' a > > {
211+ fn mock_show_response ( name : & str , value : & str ) -> PgWireResult < QueryResponse > {
212212 let fields = vec ! [ FieldInfo :: new(
213213 name. to_string( ) ,
214214 None ,
@@ -227,11 +227,11 @@ impl DfSessionService {
227227 Ok ( QueryResponse :: new ( Arc :: new ( fields) , Box :: pin ( row_stream) ) )
228228 }
229229
230- async fn try_respond_set_statements < ' a , C > (
230+ async fn try_respond_set_statements < C > (
231231 & self ,
232232 client : & mut C ,
233233 query_lower : & str ,
234- ) -> PgWireResult < Option < Response < ' a > > >
234+ ) -> PgWireResult < Option < Response > >
235235 where
236236 C : ClientInfo ,
237237 {
@@ -309,11 +309,11 @@ impl DfSessionService {
309309 }
310310 }
311311
312- async fn try_respond_transaction_statements < ' a , C > (
312+ async fn try_respond_transaction_statements < C > (
313313 & self ,
314314 client : & C ,
315315 query_lower : & str ,
316- ) -> PgWireResult < Option < Response < ' a > > >
316+ ) -> PgWireResult < Option < Response > >
317317 where
318318 C : ClientInfo ,
319319 {
@@ -360,11 +360,11 @@ impl DfSessionService {
360360 }
361361 }
362362
363- async fn try_respond_show_statements < ' a , C > (
363+ async fn try_respond_show_statements < C > (
364364 & self ,
365365 client : & C ,
366366 query_lower : & str ,
367- ) -> PgWireResult < Option < Response < ' a > > >
367+ ) -> PgWireResult < Option < Response > >
368368 where
369369 C : ClientInfo ,
370370 {
@@ -422,7 +422,7 @@ impl DfSessionService {
422422
423423#[ async_trait]
424424impl SimpleQueryHandler for DfSessionService {
425- async fn do_query < ' a , C > ( & self , client : & mut C , query : & str ) -> PgWireResult < Vec < Response < ' a > > >
425+ async fn do_query < C > ( & self , client : & mut C , query : & str ) -> PgWireResult < Vec < Response > >
426426 where
427427 C : ClientInfo + Unpin + Send + Sync ,
428428 {
@@ -598,12 +598,12 @@ impl ExtendedQueryHandler for DfSessionService {
598598 Ok ( DescribePortalResponse :: new ( fields) )
599599 }
600600
601- async fn do_query < ' a , C > (
601+ async fn do_query < C > (
602602 & self ,
603603 client : & mut C ,
604604 portal : & Portal < Self :: Statement > ,
605605 _max_rows : usize ,
606- ) -> PgWireResult < Response < ' a > >
606+ ) -> PgWireResult < Response >
607607 where
608608 C : ClientInfo + Unpin + Send + Sync ,
609609 {
0 commit comments