pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: chris@tech.com.au
To: pgsql-hackers@hub.org
Cc: chris@tech.com.au
Subject: BUG in 6.5 - GROUP BY inheritance
Date: Thu, 10 Jun 1999 00:43:22 +1000
Message-ID: <199906091443.AAA26884@tech.com.au> (raw)


The following query produces the following error

BUT...

if I take out the "*" from category* it starts to work. Unfortunately I need the "*" for my purposes. Bug?

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;
ERROR:  replace_vars_with_subplan_refs: variable not in target list

-- 
Chris Bitmead
http://www.bigfoot.com/~chris.bitmead
mailto:chris.bitmead@bigfoot.com



view thread (5+ messages)  latest in thread

Message-ID: <199906091443.AAA26884@tech.com.au>
Permalink:  ../199906091443.AAA26884@tech.com.au/
Also on:    postgresql.org/message-id/199906091443.AAA26884@tech.com.au

 · 

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: chris@tech.com.au, pgsql-hackers@hub.org
  Subject: Re: BUG in 6.5 - GROUP BY inheritance
  In-Reply-To: <199906091443.AAA26884@tech.com.au>
  References: <199906091443.AAA26884@tech.com.au>

* 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