Re: GRANT USAGE ON SEQUENCE missing from psql command completion

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: GRANT USAGE ON SEQUENCE missing from psql command completion
Дата
Msg-id CAB7nPqTF2=7YV_7FJTPEQZVWx5TzrU+g+y9K1TNhj1Sv2_rd5Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: GRANT USAGE ON SEQUENCE missing from psql command completion  (Thomas Munro <thomas.munro@enterprisedb.com>)
Ответы Re: GRANT USAGE ON SEQUENCE missing from psql command completion
Список pgsql-bugs


On Thu, Aug 20, 2015 at 12:10 PM, Thomas Munro <thomas.munro@enterprisedb.com> wrote:
On Thu, Aug 20, 2015 at 2:54 PM, Josh Berkus <josh@agliodbs.com> wrote:
> Versions tested: 9.4.4, 9.5a2
>
> Steps to reproduce:
>
> 1. psql to a database with sequences
>
> 2. type "grant usage on " and hit tab
>
> 3. "sequence" does not appear
>
> 4. type "grant usage on sequence " and hit tab
>
> 5. completes with word "to" which is incorrect.

Here's a patch for that.

Don't we want to add TABLE as well? That's the default with just ON but it seems useful to me to show up only a list of tables without all those keywords.
--
Michael
Вложения

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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: GRANT USAGE ON SEQUENCE missing from psql command completion
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: GRANT USAGE ON SEQUENCE missing from psql command completion