pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Josh Berkus <josh@agliodbs.com>
Cc: dev@archonet.com, sqllist <pgsql-sql@postgresql.org>
Subject: Re: List Concatination
Date: Fri, 16 Mar 2001 11:43:45 -0500
Message-ID: <25042.984761025@sss.pgh.pa.us> (raw)
In-Reply-To: <web-25861@davinci.ethosmedia.com>
References: <web-25861@davinci.ethosmedia.com>

"Josh Berkus" <josh@agliodbs.com> writes:
> As I said in my previous e-mail, I appear to have gotten the list to
> order itself by basing it on an (ordered) sub-select.  Since the DB is
> only 50% populated right now, I'm not sure that's working perfectly but
> I'll keep you posted.

Yes, that oughta work fine to determine the order of inputs to the
aggregate function.  ORDER BY in sub-selects is a new feature (heck,
sub-selects in FROM at all is a new feature) in 7.1, so this trick
wasn't available when Richard and I discussed the issue before.

			regards, tom lane



view thread (10+ messages)  latest in thread

Message-ID: <25042.984761025@sss.pgh.pa.us>
Permalink:  ../25042.984761025@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25042.984761025@sss.pgh.pa.us

 · 

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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, josh@agliodbs.com
  Subject: Re: List Concatination
  In-Reply-To: <25042.984761025@sss.pgh.pa.us>
  References: <web-25861@davinci.ethosmedia.com> <25042.984761025@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