Re: Still a NOTICE in dict_thesaurus.c

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Still a NOTICE in dict_thesaurus.c
Дата
Msg-id 200711272320.lARNKGO11935@momjian.us
обсуждение исходный текст
Ответ на Re: Still a NOTICE in dict_thesaurus.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Still a NOTICE in dict_thesaurus.c  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Thanks, working on this now.  Because the stop words can be any stop
> > word I didn't imagine it could be in the subsitution.  What stop word
> > will it use?  Anyway, coding it now to match the left-hand-side.
> 
> Why would you do that?  There is not any corresponding idea of leaving
> holes in the pattern.  AFAICS the only change needed is NOTICE->ERROR.

OK, I see now.  The right-hand side just ignores a stop word, rather
than accepting any stop word.  Got it.

So, for the left-hand-side we have '?' as any stop word and a stop word
as an error, and you want to make a stop word as an error on the
right-hand-size.  No need for '?'.  Agreed.  Want me to do it?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://postgres.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Still a NOTICE in dict_thesaurus.c
Следующее
От: "Guillaume Smet"
Дата:
Сообщение: Re: Quality and Performance