Re: strange CREATE INDEX tab completion cases

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: strange CREATE INDEX tab completion cases
Дата
Msg-id 1756.1452543177@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: strange CREATE INDEX tab completion cases  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> One thing I just noticed is that CREATE INDEX CONCURRENTLY cannot be
> used within CREATE SCHEMA, so perhaps the lines that match the
> CONCURRENTLY keyword should use Matches() rather than TailMatches().
> Similarly (but perhaps this is not workable) the lines that TailMatch()
> but do not Match() should not offer CONCURRENTLY after INDEX.

This seems overcomplicated.  I don't think there's any expectation that
tab completion is 100% right all the time.  Let's just treat CREATE INDEX
CONCURRENTLY the same as CREATE INDEX.
        regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Speedup twophase transactions
Следующее
От: David Fetter
Дата:
Сообщение: Re: Weighted Stats