Re: Question about pattern matching

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: Question about pattern matching
Дата
Msg-id 20081223191733.GA19336@depesz.com
обсуждение исходный текст
Ответ на Question about pattern matching  (dimitris.sakellarios@telesuite.gr)
Ответы Re: Question about pattern matching
Список pgsql-general
On Tue, Dec 23, 2008 at 06:05:08PM +0200, dimitris.sakellarios@telesuite.gr wrote:
> QUESTION
> --------
> Pls let me know which is the best way to match the
> following pattern against this table and Receive id = 8
> that is the longest matching pattern from left to right.

check this:
http://www.depesz.com/index.php/2008/03/04/searching-for-longest-prefix/
read also the comments

additionally, check this url: http://pgfoundry.org/projects/prefix

Best regards,

depesz

--
Linkedin: http://www.linkedin.com/in/depesz  /  blog: http://www.depesz.com/
jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

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

Предыдущее
От: dimitris.sakellarios@telesuite.gr
Дата:
Сообщение: Re: Question about pattern matching
Следующее
От: "Dimitris Sakellarios"
Дата:
Сообщение: Re: Question about pattern matching