Re: GRANT USAGE ON SEQUENCE missing from psql command completion

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: GRANT USAGE ON SEQUENCE missing from psql command completion
Дата
Msg-id CAB7nPqQdWsPSBqt0NBKqA5YHrJdJ_grtWHWe-vL3NaV_eXLrEg@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  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-bugs
On Tue, Sep 1, 2015 at 10:15 PM, Thomas Munro wrote:
> Here is a version that splits that monster up into three small smaller
> blocks, and makes sure that GRANT goes with TO and REVOKE goes with FROM
> before completing with roles.
>
> Unfortunately your first example "GRANT ... FROM <tab>" still gets
> inappropriate completion because of the general FROM-matching branch with
> comment /* ... FROM ... */ that comes near the end, but it didn't seem
> sensible to start teaching the general FROM branch about avoiding this
> specific invalid production when it's happy to complete "BANANA FROM <tab>".

OK, let's live with that, tab completion would just have an incorrect
suggestion only once "from" is written completely with a space added
after it. Your patch improves many areas anyway, and that's just a
small point, hence let's have a committer look at it.
Regards,
--
Michael

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #13601: bit as quoted column in output
Следующее
От: p.buongiovanni@net-international.com
Дата:
Сообщение: BUG #13606: CHECK clause in CREATE TABLE command