X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3A70555E98 for ; Thu, 24 Feb 2005 13:38:45 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 29656-01 for ; Thu, 24 Feb 2005 13:38:43 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.250.190.2]) by svr1.postgresql.org (Postfix) with ESMTP id DB08355A6E for ; Thu, 24 Feb 2005 13:38:42 +0000 (GMT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id DCD2E31DBF; Thu, 24 Feb 2005 14:38:51 +0100 (MET) From: Kai Hessing X-Newsgroups: pgsql.sql Subject: Re: Advanced SELECT Date: Thu, 24 Feb 2005 14:38:47 +0100 Lines: 17 Message-ID: <3863naF5jkqp2U2@individual.net> References: <383fk1F5hq3hhU1@individual.net> <421D8EA6.7020107@archonet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: de, en-us, en In-Reply-To: <421D8EA6.7020107@archonet.com> X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime To: pgsql-sql@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200502/345 X-Sequence-Number: 20455 Richard Huxton schrieb: > Search the mailing-list archives for "custom aggregate concat" and > you'll quickly find an example of how to write your own custom aggregate > (like SUM()). > > Warning - I don't think you can guarantee the order of elements in the > aggregated sectors. Thank you very much. This was the right hint where to search. For the order I'll try to find some possibilities to write a function, that does a sort on this ;) We'll see... -- GnuPG-PublicKey -> http://www.hobsons.de/pgp/kai_hessing.asc Wer Unrecht tut ist ungluecklicher als wer unrecht leidet. (Demokrit, um 460 v. Chr.)