On 28th of October Tom Lane committed his patch that changes some internals of functions, but it also adds interesting capability.