[PATCH] Add tab-complete for backslash commands

Поиск
Список
Период
Сортировка
От tanghy.fnst@fujitsu.com
Тема [PATCH] Add tab-complete for backslash commands
Дата
Msg-id OS0PR01MB61136018064660F095CB57A8FB129@OS0PR01MB6113.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответы RE: [PATCH] Add tab-complete for backslash commands
Список pgsql-hackers
Hi

Attached a patch to improve the tab completion for backslash commands.
I think it’s common for some people(I'm one of them) to use full-name commands than abbreviation.
So it's more convenient if we can add the full-name backslash commands in the tab-complete.c.

When modify tab-complete.c, I found \dS was added in the backslash_commands[], but I think maybe it should be removed
justlike other \x[S]. 
So I removed it.
Besides, I also added a little change in help.c.
- exchange the positon of \des and \det according to alphabetical order
- rename PATRN1/PATRN2 to ROLEPTRN/DBPTRN to make expression more comprehensible

Any comment is welcome.

Regards,
Tang

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Re: BUG #16583: merge join on tables with different DB collation behind postgres_fdw fails
Следующее
От: Ronan Dunklau
Дата:
Сообщение: Re: [PATCH] Use optimized single-datum tuplesort in ExecSort