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