Unix Technical Forum

BUG #1681: Selection problem

This is a discussion on BUG #1681: Selection problem within the pgsql Bugs forums, part of the PostgreSQL category; --> The following bug has been logged online: Bug reference: 1681 Logged by: fremaux Email address: benjamin.fremaux@sofrecom.com PostgreSQL version: 7.2.2 ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 08:52 AM
fremaux
 
Posts: n/a
Default BUG #1681: Selection problem


The following bug has been logged online:

Bug reference: 1681
Logged by: fremaux
Email address: benjamin.fremaux@sofrecom.com
PostgreSQL version: 7.2.2
Operating system: Linux kernel 2.4.6.19-mdk
Description: Selection problem
Details:

following query :
SELECT list.group_artifact_id, list.name
FROM artifact_group_list list
WHERE (list.group_artifact_id=167)

returns 2 lines where the first list.group_artifact_id equals "165". The
problem is that the only lines that have to be returned are the ones with
list.group_artifact_id=167

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 08:53 AM
Michael Fuhr
 
Posts: n/a
Default Re: BUG #1681: Selection problem

[Please copy the mailing list on replies so others can participate
in and learn from the discussion.]

On Fri, May 27, 2005 at 10:08:20AM +0200, FREMAUX Benjamin SOFRECOM wrote:
>
> I have effectively an index (PK) on list.group_artifact_id. I solved the
> problem with an index rebuild.


A reindex might have provided an immediate fix, but it probably
didn't solve the problem; it might happen again. I don't know if
the problem still exists in later releases in the 7.2 branch, but
in any case I'd recommend using something newer than 7.2.2. A
number of bugs have been fixed since then; see the Release Notes
for details.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:39 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com