Re: Subselect returns too many attributes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Scott Muir" <wsmuir(at)islandnet(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Subselect returns too many attributes
Date: 2001-03-24 03:25:57
Message-ID: 14394.985404357@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I wrote:
> "Scott Muir" <wsmuir(at)islandnet(dot)com> writes:
>> when I view it again either from pgaccess or using psql, the subselect has
>> had added to the fields it returns, all the other fields in the group by or
>> in the where clause... this still seems to work okay..

> This is a bug ... it's fixed in 7.1 ...

Hm, I didn't actually answer your question, did I? Yes, the view
will work fine. The bug is just in the rule decompiler: it's showing
parts of the internal representation that it shouldn't.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message GH 2001-03-24 04:17:21 Re: Configuration Parameters
Previous Message Tom Lane 2001-03-24 02:34:03 Re: Subselect returns too many attributes