Re: Making tab-complete.c easier to maintain - Mailing list pgsql-hackers

From Jeff Janes
Subject Re: Making tab-complete.c easier to maintain
Date
Msg-id CAMkU=1yt=Ed7+K4sUisdUkt-wDhGnxdkDqs_43uJvhJYFA56gQ@mail.gmail.com
Whole thread Raw
In response to Re: Making tab-complete.c easier to maintain  (Thomas Munro <thomas.munro@enterprisedb.com>)
Responses Re: Making tab-complete.c easier to maintain  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers
On Sun, Oct 18, 2015 at 5:31 PM, Thomas Munro <thomas.munro@enterprisedb.com> wrote:
Hi

Here is a new version merging recent changes.

For reasons I do not understand, "SET work_mem " does not complete with "TO".

But if I change:

else if (Matches2("SET", MatchAny))

to:

else if (TailMatches2("SET", MatchAny))

Then it does.
 
Cheers,

Jeff

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Why no CONSTANT for row variables in plpgsql?
Next
From: Thomas Munro
Date:
Subject: Re: Making tab-complete.c easier to maintain