Re: strange CREATE INDEX tab completion cases - Mailing list pgsql-hackers

From Tom Lane
Subject Re: strange CREATE INDEX tab completion cases
Date
Msg-id 1756.1452543177@sss.pgh.pa.us
Whole thread Raw
In response to Re: strange CREATE INDEX tab completion cases  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: Re: Speedup twophase transactions
Next
From: David Fetter
Date:
Subject: Re: Weighted Stats