pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christian Fritze <The.Finn@sprawl.de>
To: Christian Fritze <The.Finn@sprawl.de>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: going gaga on creating an aggregate... [solved of course...]
Date: Sun, 16 Apr 2000 01:01:27 +0200
Message-ID: <200004152301.BAA02788@chatsubo.sprawl.de> (raw)


Oh my, I've been obfuscating. Again...
While having a couple of beers as mental lubricants in the 
LAP (Local Area Pub), it came to my mind that just doing a 

 create aggregate test_agg_1 (
 basetype = text, 
 stype1 = text, 
 sfunc1 = textcat, 
 initcond1 = '');

and then selecting like

 select test_agg_1(textvar || ' ') from testtable;

perfectly suites my needs. Sorry for the fuzz!

Still I'm somewhat curious as to why my first 
approach didn't work...


Greetings
Christian


-- 
"The sky above the port was the color of television,
 tuned to a dead channel."
                                         -- W.G. --





view thread (2+ messages)  latest in thread

Message-ID: <200004152301.BAA02788@chatsubo.sprawl.de>
Permalink:  ../200004152301.BAA02788@chatsubo.sprawl.de/
Also on:    postgresql.org/message-id/200004152301.BAA02788@chatsubo.sprawl.de

 · 

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: The.Finn@sprawl.de
  Subject: Re: going gaga on creating an aggregate... [solved of course...]
  In-Reply-To: <200004152301.BAA02788@chatsubo.sprawl.de>
  References: <200004152301.BAA02788@chatsubo.sprawl.de>

* 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