From: Tom Lane <tgl@sss.pgh.pa.us>
To: J. Fernando Moyano <txinete@wanadoo.es>
Cc: pgsql-sql@postgresql.org
Subject: Re: Problems with complex queries ...
Date: Tue, 29 Aug 2000 19:21:57 -0400
Message-ID: <17346.967591317@sss.pgh.pa.us> (raw)
In-Reply-To: <00083000494302.01170@txino.mikasa.eh>
References: <00083000494302.01170@txino.mikasa.eh>
"J. Fernando Moyano" <txinete@wanadoo.es> writes:
> I try this on my system: (Postgres 6.5.2, Linux)
> "select n_lote from pedidos except select rp.n_lote from relpedidos rp,
> relfacturas rf where rp.n_lote=rf.n_lote group by rp.n_lote having
> sum(rp.cantidad)=sum(rf.cantidad)"
> and I get this result:
> ERROR: rewrite: comparision of 2 aggregate columns not supported
I think this is fixed in 7.0.
regards, tom lane
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, txinete@wanadoo.es
Subject: Re: Problems with complex queries ...
In-Reply-To: <17346.967591317@sss.pgh.pa.us>
References: <00083000494302.01170@txino.mikasa.eh> <17346.967591317@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