On 3/29/17 11:08 AM, Tomas Vondra wrote:
>
> The attached patch is the best I came up with - it essentially shares
> just the tuple-forming part, which is exactly the same in both cases.
I have marked this submission "Needs Review".
--
-David
david(at)pgmasters(dot)net