Re: [HACKERS] BUG in 6.5 - GROUP BY inheritance

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)hub(dot)org
Subject: Re: [HACKERS] BUG in 6.5 - GROUP BY inheritance
Date: 1999-06-10 15:06:22
Message-ID: 9727.929027182@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Chris Bitmead <chris(dot)bitmead(at)bigfoot(dot)com> writes:
> This is from CVS of about a week ago.

> SELECT question.title, count(comment.oid) FROM question,
> category*,comment WHERE comment.webobject = question.oid and
> question.category = category.oid GROUP BY question.title;

See my message from Sunday, "inherited GROUP BY is busted":

: It turns out that pretty much *anything* involving grouping or
: aggregation would fail if the query used inheritance, because the

This query seems to work with current sources (although EXPLAIN
fails for it --- I think that explain.c is out of sync with the
executor).

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Wright 1999-06-10 15:08:17 Re: [HACKERS] select order by for update
Previous Message Vadim Mikheev 1999-06-10 14:52:51 elog(ERROR, "EvalPlanQual: t_xmin is uncommitted ?!") fixed