Re: [HACKERS] [patch] psql tab completion for ALTER DEFAULTPRIVILEGES

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: [HACKERS] [patch] psql tab completion for ALTER DEFAULTPRIVILEGES
Дата
Msg-id 20161223032740.GV18360@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: [patch] psql tab completion for ALTER DEFAULT PRIVILEGES  (Gilles Darold <gilles.darold@dalibo.com>)
Ответы Re: [HACKERS] [patch] psql tab completion for ALTER DEFAULTPRIVILEGES  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Gilles,

* Gilles Darold (gilles.darold@dalibo.com) wrote:
> Added to next commitfest. To explain more this patch, the completion of
> SQL command:
>
>     ALTER DEFAULT PRIVILEGES FOR ROLE xxx [tab]

Here is a cleaned up patch for master and 9.6.  Tomorrow I'll look into
what we can do for 9.5 and earlier, which are also wrong, but the code
is quite a bit different.

Note that beyond just changing the comments, I removed the alternative
spelling of 'role' when doing tab completion- there's no different
between 'role' and 'user', so there's no point in making the user have
to pick one when they're tab-completing.  Of course, we still accept
both and if the user chooses to write out 'for user', we will handle
that correctly and continue the tab completion beyond that.

Thanks!

Stephen

Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] Speed up Clog Access by increasing CLOG buffers
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: [HACKERS] multi-level partitions and partition-wise joins