Re: [HACKERS] HSavage bug in Postgresql beta?

Lists: pgsql-hackers
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chris Bitmead <chris(dot)bitmead(at)bigfoot(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] HSavage bug in Postgresql beta?
Date: 1999-04-27 14:25:39
Message-ID: 8268.925223139@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Chris Bitmead <chris(dot)bitmead(at)bigfoot(dot)com> writes:
> SELECT story.approved, story.oid FROM story, webuser, category* WHERE
> story.webuser = webuser.oid AND story.category = category.oid and
> approved;
> [ fails to find tuples it should find ]

Youch. I could not duplicate that here on a toy example, which may
mean there is a recently-fixed bug, or it may just mean that there
are additional conditions required to trigger the bug.

What does EXPLAIN say about the plans used for the two queries?

regards, tom lane


From: Chris Bitmead <chris(dot)bitmead(at)bigfoot(dot)com>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] HSavage bug in Postgresql beta?
Date: 1999-04-28 00:39:49
Message-ID: 372658D5.249AD32A@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Well I destroyed the database and recreated it, and the problem didn't
happen any more. So unfortunately I can't reproduce it now.

I can tell you that the "approved" field that was causing the problem
was added with an ALTER TABLE ADD COLUMN statement. That's the most
"unusual" thing about the situation. Maybe I'll just have to put it down
to an aberation :-()

Tom Lane wrote:
>
> Chris Bitmead <chris(dot)bitmead(at)bigfoot(dot)com> writes:
> > SELECT story.approved, story.oid FROM story, webuser, category* WHERE
> > story.webuser = webuser.oid AND story.category = category.oid and
> > approved;
> > [ fails to find tuples it should find ]
>
> Youch. I could not duplicate that here on a toy example, which may
> mean there is a recently-fixed bug, or it may just mean that there
> are additional conditions required to trigger the bug.
>
> What does EXPLAIN say about the plans used for the two queries?
>
> regards, tom lane