Re: Aggregates with internal state type?

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: Aggregates with internal state type?
Дата
Msg-id 45087BA7.2050908@logix-tt.com
обсуждение исходный текст
Ответ на Re: Aggregates with internal state type?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Hi, Tom,

Tom Lane wrote:

>> 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.

Yes, that will work for C, and I'll have a look into it. Good idea.

I had the secret hope that I'd come up with a scheme that also works
using pljava, avoiding the serialization and reserialization of java
objects. But I'm afraid that this gets more difficult.

Markus
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Aggregates with internal state type?
Следующее
От: Javanesevn
Дата:
Сообщение: How to delete multiple records