Re: List Concatination - Mailing list pgsql-sql

From Tom Lane
Subject Re: List Concatination
Date
Msg-id 25042.984761025@sss.pgh.pa.us
Whole thread Raw
In response to Re: List Concatination  ("Josh Berkus" <josh@agliodbs.com>)
List pgsql-sql
"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


pgsql-sql by date:

Previous
From: e.ellenkamp@copernicus-it.nl (Egbert Ellenkamp)
Date:
Subject: update table sequence
Next
From: "Ross J. Reedstrom"
Date:
Subject: Re: update table sequence