Ltree pattern matching

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Ltree pattern matching
Дата
Msg-id 163664521217.8082.8625825759427310603@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: Ltree pattern matching
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/ltree.html
Description:

In v12 ltree doc (I've not checked other versions)
"The behavior of % is a bit complicated. It tries to match words rather than
the entire label. For example foo_bar% matches foo_bar_baz but not
foo_barbaz. If combined with *, prefix matching applies to each word
separately, for example foo_bar%* matches foo1_bar2_baz but not
foo1_br2_baz.

I believe foo1 is in error (if I understood the operators), it should be
foo.

Regards
T

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

Предыдущее
От: Grega Jesih
Дата:
Сообщение: RE: text fields and performance for ETL
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: text fields and performance for ETL