Re: Feature improvement of tab completion for DEALLOCATE - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Feature improvement of tab completion for DEALLOCATE
Date
Msg-id 997a84af-c2e2-abe4-aca2-abdfb7383346@oss.nttdata.com
Whole thread Raw
In response to Feature improvement of tab completion for DEALLOCATE  (btnakamichin <btnakamichin@oss.nttdata.com>)
Responses Re: Feature improvement of tab completion for DEALLOCATE
List pgsql-hackers

On 2020/09/25 13:45, btnakamichin wrote:
> Hello!
> 
> I’d like to improve the deallocate tab completion.
> 
> The deallocate tab completion can’t complement “ALL”. Therefore, this patch fixes the problem.

Thanks for the patch! It looks basically good, but I think it's better
to add newline just before UNION to avoid long line, as follows.

-               COMPLETE_WITH_QUERY(Query_for_list_of_prepared_statements);
+               COMPLETE_WITH_QUERY(Query_for_list_of_prepared_statements
+                                                       " UNION SELECT 'ALL'");

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: scram-sha-256 broken with FIPS and OpenSSL 1.0.2
Next
From: Tom Lane
Date:
Subject: Re: scram-sha-256 broken with FIPS and OpenSSL 1.0.2