From: j knight <enabled@myrealbox.com>
To: pgsql-sql@postgresql.org
Subject: Re: Aggregate function error in 7.4
Date: Wed, 28 Jan 2004 12:18:27 -0700
Message-ID: <40180B03.3070209@myrealbox.com> (raw)
In-Reply-To: <10762.1075276201@sss.pgh.pa.us>
References: <40175887.2080108@myrealbox.com>
<10762.1075276201@sss.pgh.pa.us>
Tom Lane wrote:
> j knight <enabled@myrealbox.com> writes:
>
>>[ query with GROUP BY on a FULL JOIN USING column ]
>>psql:pgsql.dump:301: ERROR: column "r.day" must appear in the GROUP BY
>>clause or be used in an aggregate function
>
>
> Argh. This is the result of a thinko in an optimization added in 7.4.
> The patch is attached...
Thank you Tom. This does indeed solve the problem.
.joel
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: enabled@myrealbox.com
Subject: Re: Aggregate function error in 7.4
In-Reply-To: <40180B03.3070209@myrealbox.com>
* 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