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 in 0cd6d3b.
Author: Ken Kato
Discussion: https://postgr.es/m/9497ae9ca1b31eb9b1e97aded1c2ab07@oss.nttdata.com
{"TEMPORARY",NULL,NULL,NULL,THING_NO_DROP|THING_NO_ALTER},/* for CREATE TEMPORARY
*TABLE...*/
{"TEXT SEARCH",NULL,NULL,NULL},
{"TRANSFORM",NULL,NULL,NULL},
{"TRANSFORM",NULL,NULL,NULL,THING_NO_ALTER},
{"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"},
{"TYPE",NULL,NULL,&Query_for_list_of_datatypes},
{"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)