You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Improve psql tab completion for views, FDWs, sequences and transforms
The following improvements are done:- Addition of type completion for ALTER SEQUENCE AS.- Ignore ALTER for transforms, as the command is not supported.- Addition of more completion for ALTER FOREIGN DATA WRAPPER.- Addition of options related to columns in ALTER VIEW.This is a continuation of the work done in0cd6d3b.Author: Ken KatoDiscussion:https://postgr.es/m/9497ae9ca1b31eb9b1e97aded1c2ab07@oss.nttdata.com
{"TEMPORARY",NULL,NULL,NULL,THING_NO_DROP |THING_NO_ALTER},/* for CREATE TEMPORARY
1089
1089
* TABLE ... */
1090
1090
{"TEXT SEARCH",NULL,NULL,NULL},
1091
-
{"TRANSFORM",NULL,NULL,NULL},
1091
+
{"TRANSFORM",NULL,NULL,NULL,THING_NO_ALTER},
1092
1092
{"TRIGGER","SELECT pg_catalog.quote_ident(tgname) FROM pg_catalog.pg_trigger WHERE substring(pg_catalog.quote_ident(tgname),1,%d)='%s' AND NOT tgisinternal"},
1093
1093
{"TYPE",NULL,NULL,&Query_for_list_of_datatypes},
1094
1094
{"UNIQUE",NULL,NULL,NULL,THING_NO_DROP |THING_NO_ALTER},/* for CREATE UNIQUE
@@ -1754,7 +1754,10 @@ psql_completion(const char *text, int start, int end)