[DOCS] case-insensitive index lower()

Поиск
Список
Период
Сортировка
От loren.szendre@gmail.com
Тема [DOCS] case-insensitive index lower()
Дата
Msg-id 20161220100242.25618.66302@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: [DOCS] case-insensitive index lower()  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.1/static/sql-createindex.html
Description:

In the section on indexes the documentation accurately describes how to
create an efficient, case-insensitive index using lower(field_name). But! in
Firebird to get a query to utilize such index, you must write the query as
such:

WHERE myfield = lower(:myfield)

Otherwise a table scan is performed. The documentation should state whether
or not such a thing is required. It's one thing to create an index, it's
quite another to know how to write a statement that guarantees that the
index will be used.

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

Предыдущее
От: celia@drmath.ca
Дата:
Сообщение: [DOCS] Use return type of TEXT rather than varchar[] is better for me!
Следующее
От: vodevsh@gmail.com
Дата:
Сообщение: [DOCS] pg_class.reloptions for tables to mention Storage Parameters