Re: Aggregates with internal state type?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Aggregates with internal state type?
Дата
Msg-id 16722.1158181987@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Aggregates with internal state type?  (Markus Schaber <schabi@logix-tt.com>)
Ответы Re: Aggregates with internal state type?
Список 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 по дате отправления:

Предыдущее
От: Markus Schaber
Дата:
Сообщение: Aggregates with internal state type?
Следующее
От: Markus Schaber
Дата:
Сообщение: Re: Aggregates with internal state type?