From: | "Alexey Bashtanov" <bashtanov(at)imap(dot)cc> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #4887: inclusion operator (@>) on tsqeries behaves not conforming to documentation |
Date: | 2009-06-26 12:54:22 |
Message-ID: | 200906261254.n5QCsMCx020480@wwwmaster.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
The following bug has been logged online:
Bug reference: 4887
Logged by: Alexey Bashtanov
Email address: bashtanov(at)imap(dot)cc
PostgreSQL version: 8.3.1, 8.3.7
Operating system: Linux 2.6.20 FC5 i686, Linux 2.6.27 FC10 i686
Description: inclusion operator (@>) on tsqeries behaves not
conforming to documentation
Details:
Hello!
'!a|b'::tsquery <@ 'a|b'::tsquery evaluates to false, but should evalueate
to true
(http://www.postgresql.org/docs/8.3/interactive/functions-textsearch.html
says "The tsquery containment operators consider only the lexemes listed in
the two queries, ignoring the combining operators.")
I think negation operator is treated as a lexeme. So please correct the
behaviour of operators or rewrite this line of docs.
Thanks,
Alexey
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-06-26 14:40:37 | Re: BUG #4879: bgwriter fails to fsync the file in recovery mode |
Previous Message | Dave Page | 2009-06-26 12:19:12 | Re: BUG #4886: Password Crash |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-06-26 13:34:21 | gettext version problem exposed by buildfarm failures on "canary" |
Previous Message | Jeremy Kerr | 2009-06-26 12:47:00 | Re: [PATCH] backend: compare word-at-a-time in bcTruelen |