Re: different results based solely on existence of index (no, seriously)

From: "shakahshakah(at)gmail(dot)com" <shakahshakah(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: different results based solely on existence of index (no, seriously)
Date: 2008-08-12 12:34:17
Message-ID: 62098913-a9f6-4a25-bc78-e081f0301d1e@d1g2000hsg.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

On Aug 12, 8:17 am, p(dot)(dot)(dot)(at)rvt(dot)dds(dot)nl (ries van Twisk) wrote:
> On Aug 12, 2008, at 3:53 AM, Willy-Bas Loos wrote:
>
>
>
> > reproduced it on:
> > "PostgreSQL 8.3.3 on i486-pc-linux-gnu, compiled by GCC cc (GCC)  
> > 4.2.3 (Ubuntu 4.2.3-2ubuntu7)"
> > 3 rows with index, 2 rows without.
>
> > can not reproduce it on:
> > - "PostgreSQL 8.1.10 on i486-pc-linux-gnu, compiled by GCC cc (GCC)  
> > 4.1.3 20070831 (prerelease) (Ubuntu 4.1.2-16ubuntu1)"
> > - "PostgreSQL 8.2.6 on i686-pc-mingw32, compiled by GCC gcc.exe  
> > (GCC) 3.4.2 (mingw-special)"
> > - "PostgreSQL 8.2.7 on i486-pc-linux-gnu, compiled by GCC cc (GCC)  
> > 4.2.3 (Ubuntu 4.2.3-2ubuntu4)"
> > they allways return 2 rows.
>
> > hth
> > WBL
>
> reproduced on:
> PostgreSQL 8.3.1 on i386-apple-darwin9.4.0, compiled by GCC i686-apple-
> darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
> 3rows with index, 2 rows without
>
> Ries

FWIW, reproduced (3 rows w/index, 2 w/o) on:
PostgreSQL 8.3.0 on i686-pc-linux-gnu, compiled by GCC gcc (GCC)
4.1.2 (Ubuntu 4.1.2-0ubuntu4)

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Lawrence Cohan 2008-08-12 13:25:25 Re: BUG #4351: Full text search performance
Previous Message ries van Twisk 2008-08-12 12:17:53 Re: different results based solely on existence of index (no, seriously)

Browse pgsql-general by date

  From Date Subject
Next Message MuraliPD@GMail 2008-08-12 13:22:56 Re: Need help returning record set from a dynamic sql query
Previous Message Magnus Hagander 2008-08-12 12:25:11 Re: pg crashing