Re: Aggregates with internal state type? - Mailing list pgsql-sql

From Tom Lane
Subject Re: Aggregates with internal state type?
Date
Msg-id 17004.1158182717@sss.pgh.pa.us
Whole thread Raw
In response to Re: Aggregates with internal state type?  (Markus Schaber <schabi@logix-tt.com>)
Responses Re: Aggregates with internal state type?  (Markus Schaber <schabi@logix-tt.com>)
List pgsql-sql
Markus Schaber <schabi@logix-tt.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


pgsql-sql by date:

Previous
From: Markus Schaber
Date:
Subject: Re: Aggregates with internal state type?
Next
From: Markus Schaber
Date:
Subject: Re: Aggregates with internal state type?