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

From Tom Lane
Subject Re: Aggregates with internal state type?
Date
Msg-id 16722.1158181987@sss.pgh.pa.us
Whole thread Raw
In response to 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:
> This lead me to the question whether it is possible to use "internal" as
> state type for an Aggregate whose functions are implemented in C.

No, because the system has no idea what the representation of an
"internal" state value might be, and in particular how to copy it.
The same goes for other pseudotypes.
        regards, tom lane


pgsql-sql by date:

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