Re: Using a pointer as statetype for an aggregate

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Using a pointer as statetype for an aggregate
Дата
Msg-id 28883.1146581590@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Using a pointer as statetype for an aggregate  ("Florian G. Pflug" <fgp@phlo.org>)
Ответы Re: Using a pointer as statetype for an aggregate  ("Florian G. Pflug" <fgp@phlo.org>)
Список pgsql-general
"Florian G. Pflug" <fgp@phlo.org> writes:
> why doesn't postgres allow "internal" as statetype?

Because it's not a type.  If it were, it certainly wouldn't have the
semantics you seem to hope for (ie, "pass by reference type but don't
actually try to copy the bits")

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: "John D. Burger"
Дата:
Сообщение: Re: How would I write this query...
Следующее
От: Markus Schiltknecht
Дата:
Сообщение: convert LO to BYTEA