Re: Detection of nested function calls - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Detection of nested function calls
Date
Msg-id 20131028092359.GE5577@awork2.anarazel.de
Whole thread Raw
In response to Re: Detection of nested function calls  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Detection of nested function calls  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On 2013-10-28 10:12:41 +0100, Pavel Stehule wrote:
> > I think we'd need another argument to CREATE FUNCTION like SERIALIZE
> > pointing to a function that that has to return data that can be stored
> > on disk. Deserialization would be up to individual functions.
> >
> > Depending on the specification this might turn out to be slightly
> > invasive, tuplestore/sort et al probably have to care...

> Then you need a functions than prepare a clone of unpacked data too.

Why? In those case we can (and should) just store the ondisk
representation.

Greetings,

Andres Freund

PS: Could you please try to trim the quoted emails a bit?

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: PostgreSQL Service on Windows does not start. ~ "is not a valid Win32 application"
Next
From: Hugo Mercier
Date:
Subject: Re: Detection of nested function calls