^@ operator for text

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема ^@ operator for text
Дата
Msg-id 164025929698.19324.7276266494030468977@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: ^@ operator for text  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/functions-string.html
Description:

In the new documentation 
https://www.postgresql.org/docs/14/functions-string.html
you again lost information about ^@ operator for text and keep information
about only function starts_with on which this operator is based. But ^@ is
very important, because it can be accelerated by special index SP-GIST
index.
https://www.postgresql.org/docs/14/spgist-builtin-opclasses.html
The task to filter text strings by prefix is rather common and using ^@ and
SP-GIST is the best solution for this (rather options is to use starts_with
without index acceleration or use LIKE construction with SP-GIST, which more
complex (need to mention C locales), overengeniered and may be more slow).

As I say the filtering text by prefix is very common task, but information
about the best method is absent now.

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: The pg_stop_backup will return one row with three values.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ^@ operator for text