BUG #5793: tsquery error

From: "" <ms(at)instytut(dot)com(dot)pl>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5793: tsquery error
Date: 2010-12-18 00:13:25
Message-ID: 201012180013.oBI0DPfc074511@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5793
Logged by:
Email address: ms(at)instytut(dot)com(dot)pl
PostgreSQL version: 8, 9
Operating system: Linux
Description: tsquery error
Details:

The expression 'a & !(c) | a & b' is interpreted as '( a | !c ) & a & b'.
select 'a & !(c) | a & b'::tsquery;

Subsequent "rewrites" of the same expression give inconsistent results:

select '(a & !(c | d)) | (a & b)'::tsquery; -> 'a & !(c | d) | a & b'
(correct)
select 'a & !(c | d) | a & b'::tsquery; -> '(a | !(c | d)) & a & b' (not
correct)

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2010-12-18 02:24:24 Re: BUG #5792: INSTALLER FAILS!!!
Previous Message Daniel Witkowski 2010-12-17 15:02:44 BUG #5792: INSTALLER FAILS!!!