Re: [HACKERS] creating aggregates that work on composite types

2002-07-30 Thread Hannu Krosing
On Tue, 2002-07-30 at 16:49, Tom Lane wrote: > Hannu Krosing <[EMAIL PROTECTED]> writes: > > I am trying to create an aggregate function that works on whole tuples, > > but the system does not find them once defined ;( > > hannu=# select tabulate(users) from users; > > ERROR: No such attribute or

Re: [HACKERS] creating aggregates that work on composite types (whole tuples)

2002-07-30 Thread Tom Lane
Hannu Krosing <[EMAIL PROTECTED]> writes: > I am trying to create an aggregate function that works on whole tuples, > but the system does not find them once defined ;( > hannu=# select tabulate(users) from users; > ERROR: No such attribute or function 'tabulate' This seems to work in CVS tip. I

[HACKERS] creating aggregates that work on composite types (whole tuples)

2002-07-25 Thread Hannu Krosing
I am trying to create an aggregate function that works on whole tuples, but the system does not find them once defined ;( hannu=# \d users Table "users" Column | Type | Modifiers --+-+