I wrote:> I'll go draft something up ...
I've pushed an example based on your original test case. Feel freeto suggest improvements, although at this point they'll probablyland in 9.5.1.
regards, tom lane