Re: problems with Gist when migrating from 7.1.3 -> 7.3.x - Mailing list pgsql-general

From Teodor Sigaev
Subject Re: problems with Gist when migrating from 7.1.3 -> 7.3.x
Date
Msg-id 3E5498B7.2050203@stack.net
Whole thread Raw
In response to problems with Gist when migrating from 7.1.3 -> 7.3.x  (Hans-Jürgen Schönig <hs@cybertec.at>)
List pgsql-general
First of all try disable index scan.
For further, pls, create minimal test suite demostrated this problem...


Hans-Jürgen Schönig wrote:
> Hallo ...
>
> We have a problem with Gist fields when migrating from 7.1.3 to 7.3. Our
> queries lead to different results. Actually data is lost somehow.
>
> The problem occurs when running queries like that:
>
> where (( key2img @ '{44756,44809}' or key2img && '{49582}' ) and not
> key2img
> && '{47343}' )
>
> 7.1.3 seems to return the correct result. 7.3 is much faster but returns
> nothing.
> Is it a bug? Is it a conceptual change? What went wrong? Did anybody
> encount similour problems?
>
>    Regards,
>
>        Hans
> <http://kernel.cybertec.at>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

--
Teodor Sigaev
teodor@stack.net



pgsql-general by date:

Previous
From: "Shridhar Daithankar"
Date:
Subject: Re: 7.3.1 takes long time to vacuum table?
Next
From: Vitaly
Date:
Subject: error while working with pgsql in php