@@ -209,7 +209,7 @@ impl DfSessionService {
209209 ResourceType :: All
210210 }
211211
212- fn mock_show_response < ' a > ( name : & str , value : & str ) -> PgWireResult < QueryResponse < ' a > > {
212+ fn mock_show_response ( name : & str , value : & str ) -> PgWireResult < QueryResponse > {
213213 let fields = vec ! [ FieldInfo :: new(
214214 name. to_string( ) ,
215215 None ,
@@ -228,11 +228,11 @@ impl DfSessionService {
228228 Ok ( QueryResponse :: new ( Arc :: new ( fields) , Box :: pin ( row_stream) ) )
229229 }
230230
231- async fn try_respond_set_statements < ' a , C > (
231+ async fn try_respond_set_statements < C > (
232232 & self ,
233233 client : & mut C ,
234234 query_lower : & str ,
235- ) -> PgWireResult < Option < Response < ' a > > >
235+ ) -> PgWireResult < Option < Response > >
236236 where
237237 C : ClientInfo ,
238238 {
@@ -310,11 +310,11 @@ impl DfSessionService {
310310 }
311311 }
312312
313- async fn try_respond_transaction_statements < ' a , C > (
313+ async fn try_respond_transaction_statements < C > (
314314 & self ,
315315 client : & C ,
316316 query_lower : & str ,
317- ) -> PgWireResult < Option < Response < ' a > > >
317+ ) -> PgWireResult < Option < Response > >
318318 where
319319 C : ClientInfo ,
320320 {
@@ -361,11 +361,11 @@ impl DfSessionService {
361361 }
362362 }
363363
364- async fn try_respond_show_statements < ' a , C > (
364+ async fn try_respond_show_statements < C > (
365365 & self ,
366366 client : & C ,
367367 query_lower : & str ,
368- ) -> PgWireResult < Option < Response < ' a > > >
368+ ) -> PgWireResult < Option < Response > >
369369 where
370370 C : ClientInfo ,
371371 {
@@ -423,7 +423,7 @@ impl DfSessionService {
423423
424424#[ async_trait]
425425impl SimpleQueryHandler for DfSessionService {
426- async fn do_query < ' a , C > ( & self , client : & mut C , query : & str ) -> PgWireResult < Vec < Response < ' a > > >
426+ async fn do_query < C > ( & self , client : & mut C , query : & str ) -> PgWireResult < Vec < Response > >
427427 where
428428 C : ClientInfo + Unpin + Send + Sync ,
429429 {
@@ -599,12 +599,12 @@ impl ExtendedQueryHandler for DfSessionService {
599599 Ok ( DescribePortalResponse :: new ( fields) )
600600 }
601601
602- async fn do_query < ' a , C > (
602+ async fn do_query < C > (
603603 & self ,
604604 client : & mut C ,
605605 portal : & Portal < Self :: Statement > ,
606606 _max_rows : usize ,
607- ) -> PgWireResult < Response < ' a > >
607+ ) -> PgWireResult < Response >
608608 where
609609 C : ClientInfo + Unpin + Send + Sync ,
610610 {
0 commit comments