Re: adding tab completions

Поиск
Список
Период
Сортировка
От Arthur Zakirov
Тема Re: adding tab completions
Дата
Msg-id 20180529092726.GA6535@zakirov.localdomain
обсуждение исходный текст
Ответ на adding tab completions  (Justin Pryzby <pryzby@telsasoft.com>)
Ответы Re: adding tab completions  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-hackers
Hello,

On Mon, May 28, 2018 at 07:06:23PM -0500, Justin Pryzby wrote:
> Find attached tab completion for the following:

The patch works well. I have a couple notes.

The patch replaces the variable Query_for_list_of_tmf by
Query_for_list_of_tpmf. So I think Query_for_list_of_tmf isn't needed
anymore and can be removed.

I created partitioned table "measurement" and tried tab completion.

VACUUM (ANALYZE) measurement (<tab>

gives me only a comma. If I try to input table column:

VACUUM (ANALYZE) measurement (city_id<tab>

replaces "city_id" column by a comma: "VACUUM (ANALYZE) measurement (,".
The following with whitespace after column works well:

VACUUM (ANALYZE) measurement (city_id <tab>

and gives: "VACUUM (ANALYZE) measurement (city_id ,".

Also I think it could be good to list column names after parentheses,
but I'm not sure if it easy to implement.

-- 
Arthur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company


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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Postgres, fsync, and OSs (specifically linux)
Следующее
От: Geoff Winkless
Дата:
Сообщение: Re: Is a modern build system acceptable for older platforms