pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Edmund Lian <no.spam@address.com>
To: pgsql-sql@postgresql.org
Subject: Re: Denormalizing during select
Date: Tue, 25 Feb 2003 18:48:19 GMT
Message-ID: <eq8n5vcad8ut4hk3dba1g4q27c54gr6dbs@4ax.com> (raw)
References: <200302241433.49502.josh@agliodbs.com>
	<fhpl5v86vkhq26gifm9g4cb1kh2o2b6d6r@4ax.com>

On Tue, 25 Feb 2003 03:44:02 GMT, Edmund Lian wrote:

>I found this example in "Practical PostgreSQL"... will it do the job?

Answering my own question: kind of. The problem with custom aggregates
is that they need to be used with a "group by" clause, and this means
that the select cannot return columns that are not aggregates of some
kind. What I'm trying to return are rows that are a combination of
columns and aggregates.

...Edmund.



view thread (11+ messages)  latest in thread

Message-ID: <eq8n5vcad8ut4hk3dba1g4q27c54gr6dbs@4ax.com>
Permalink:  ../eq8n5vcad8ut4hk3dba1g4q27c54gr6dbs@4ax.com/
Also on:    postgresql.org/message-id/eq8n5vcad8ut4hk3dba1g4q27c54gr6dbs@4ax.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: no.spam@address.com
  Subject: Re: Denormalizing during select
  In-Reply-To: <eq8n5vcad8ut4hk3dba1g4q27c54gr6dbs@4ax.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