pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chris Bitmead <chris.bitmead@bigfoot.com>
Cc: pgsql-hackers@hub.org
Subject: Re: [HACKERS] BUG in 6.5 - GROUP BY inheritance
Date: Thu, 10 Jun 1999 11:06:22 -0400
Message-ID: <9727.929027182@sss.pgh.pa.us> (raw)
In-Reply-To: <375F3571.B459169B@bigfoot.com>

Chris Bitmead <chris.bitmead@bigfoot.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



view thread (5+ messages)  latest in thread

Message-ID: <9727.929027182@sss.pgh.pa.us>
Permalink:  ../9727.929027182@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9727.929027182@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, chris.bitmead@bigfoot.com, pgsql-hackers@hub.org
  Subject: Re: [HACKERS] BUG in 6.5 - GROUP BY inheritance
  In-Reply-To: <9727.929027182@sss.pgh.pa.us>
  References: <375F3571.B459169B@bigfoot.com> <9727.929027182@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox