Re: Making tab-complete.c easier to maintain

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Making tab-complete.c easier to maintain
Дата
Msg-id CAEepm=1ns0rbo+xun_j6_PwDT6zmEPuNggy=Vaie-3peF2C44Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Making tab-complete.c easier to maintain  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: Making tab-complete.c easier to maintain  (Thomas Munro <thomas.munro@enterprisedb.com>)
Re: Making tab-complete.c easier to maintain  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
On Mon, Oct 19, 2015 at 4:58 PM, Jeff Janes <jeff.janes@gmail.com> wrote:
> 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.

Thanks for taking a look at this!  The word count returned by
get_previous_words was incorrect.  Here is a corrected version.

--
Thomas Munro
http://www.enterprisedb.com

Вложения

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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Making tab-complete.c easier to maintain
Следующее
От: Amit Langote
Дата:
Сообщение: Minor comment fix