RE: [PATCH] Add tab-complete for backslash commands

Поиск
Список
Период
Сортировка
От tanghy.fnst@fujitsu.com
Тема RE: [PATCH] Add tab-complete for backslash commands
Дата
Msg-id OS0PR01MB6113CDDA461942C11061463BFBD29@OS0PR01MB6113.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответ на Re: [PATCH] Add tab-complete for backslash commands  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCH] Add tab-complete for backslash commands  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sunday, September 5, 2021 1:42 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>I particularly question why we'd offer both
>single- and multiple-character versions, as the single-character
>version seems entirely useless from a completion standpoint.

I generally agreed with your opinion. But I'm not sure if there's someone
who'd like to see the list of backslash commands and choose one to use.
I mean, someone may type '\[tab][tab]' to check all supported backslash commands.
postgres=# \
Display all 105 possibilities? (y or n)
\!             \dc            \dL            \dx            \h             \r
...

In the above scenario, both single- and multiple-character versions could be helpful, thought?

Regards,
Tang

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

Предыдущее
От: "tanghy.fnst@fujitsu.com"
Дата:
Сообщение: RE: Added schema level support for publication.
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Postgres perl module namespace