Re: [HACKERS] tab completion for "create user mapping for"

2017-07-27 Thread Tom Lane
Jeff Janes writes: > If you have "CREATE USE" tab completion will recommend both USER and USER > MAPPING FOR. > But once you have the full "CREATE USER " or "CREATE USER M" it will not > complete the rest of the "MAPPING FOR". > Attached patch fixes that. Pushed, thanks.

[HACKERS] tab completion for "create user mapping for"

2017-07-27 Thread Jeff Janes
If you have "CREATE USE" tab completion will recommend both USER and USER MAPPING FOR. But once you have the full "CREATE USER " or "CREATE USER M" it will not complete the rest of the "MAPPING FOR". Attached patch fixes that. Cheers, Jeff user_mapping_tab_complete_v1.patch Description:

Re: [HACKERS] tab completion for CREATE USER MAPPING

2016-02-23 Thread Tom Lane
Fujii Masao writes: > Attached patch implements the tab-completion for CREATE USER MAPPING command. > Comments? I think it's really bad style to use "Query_for_list_of_users" as the name of a query that does not in fact deliver a list of user names, but something else with

[HACKERS] tab completion for CREATE USER MAPPING

2016-02-23 Thread Fujii Masao
Hi, Attached patch implements the tab-completion for CREATE USER MAPPING command. Comments? Regards, -- Fujii Masao *** a/src/bin/psql/tab-complete.c --- b/src/bin/psql/tab-complete.c *** *** 656,661 static const SchemaQuery Query_for_list_of_matviews = { --- 656,667 "