No = operator for opfamily 426

Поиск
Список
Период
Сортировка
От Manuel Rigger
Тема No = operator for opfamily 426
Дата
Msg-id CA+u7OA7nnGYy8rY0vdTe811NuA+Frr9nbcBO9u2Z+JxqNaud+g@mail.gmail.com
обсуждение исходный текст
Ответы Re: No = operator for opfamily 426  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Hi everyone,

Consider the following statements:

CREATE TABLE t0(c0 TEXT);
CREATE INDEX i0 ON t0(c0 bpchar_ops);
SELECT * FROM t0 WHERE t0.c0 LIKE ''; -- ERROR:  no = operator for opfamily 426

Unexpectedly, the index seems to create problems for the subsequent
query. When replacing the TEXT type by CHAR, the statements execute
successfully. Should it be possible to use this opclass for the TEXT
type?

Best,
Manuel



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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Failed assertion clauses != NIL
Следующее
От: Dmitry Dolgov
Дата:
Сообщение: Re: Failed assertion clauses != NIL