Re: Aggregates with internal state type?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Markus Schaber <schabi(at)logix-tt(dot)com>
Cc: PostgreSQL SQL List <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Aggregates with internal state type?
Date: 2006-09-13 21:25:17
Message-ID: 17004.1158182717@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Markus Schaber <schabi(at)logix-tt(dot)com> writes:
> Ah, I see. So there's no possibility to pass some void* kind of
> intermediate data, I have to craft at least a dummy PostgreSQL datatype
> for it.

Right. My first thought would be to use bytea as the declared type ---
doesn't put much burden on you except to have a length word at the front.

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Markus Schaber 2006-09-13 21:44:07 Re: Aggregates with internal state type?
Previous Message Markus Schaber 2006-09-13 21:19:56 Re: Aggregates with internal state type?