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

From Pavel Stehule
Subject Re: Detection of nested function calls
Date
Msg-id CAFj8pRDcT-W1OzTVwDma6jrY1Dr5xfN=eyqRen387S1sWpbmiw@mail.gmail.com
Whole thread Raw
In response to Re: Detection of nested function calls  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers



2013/10/28 Andres Freund <andres@2ndquadrant.com>
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.


ok,

Pavel
 

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: Stéphan BEUZE
Date:
Subject: Re: ERROR : 'tuple concurrently updated'
Next
From: Sandeep Thakkar
Date:
Subject: Re: PostgreSQL Service on Windows does not start. ~ "is not a valid Win32 application"