[BUGS] Re: BUG #14623: pg_trgm doesn't correctly process some regexp withnegative lookahead
В списке pgsql-bugs по дате отправления:
| От | Corey Csuhta |
|---|---|
| Тема | [BUGS] Re: BUG #14623: pg_trgm doesn't correctly process some regexp withnegative lookahead |
| Дата | |
| Msg-id | E2B01A4B-4530-406B-8D17-2F67CF9A16BA@csuhta.com обсуждение |
| Ответы |
Re: [BUGS] Re: BUG #14623: pg_trgm doesn't correctly process some regexp with negative lookahead
Re: [BUGS] Re: BUG #14623: pg_trgm doesn't correctly process some regexp with negative lookahead |
| Список | pgsql-bugs |
I don’t know if this is related or a separate bug, but I am also having this problem with the `+` operator and
characterclasses. Very similar test case:
CREATE TABLE foobar (x text);
INSERT INTO foobar VALUES ('Trying +1/+1'),('Also doing +20/+20');
CREATE EXTENSION pg_trgm;
CREATE INDEX ON foobar USING gin (x gin_trgm_ops);
SET enable_seqscan TO on;
SELECT * FROM foobar WHERE x ~ '\+\d+\/\+\d+'; -- Returns both rows
SET enable_seqscan TO off;
SELECT * FROM foobar WHERE x ~ '\+\d+\/\+\d+'; -- Returns 0 rows
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера