Brendan Jurd <direvus(at)gmail(dot)com> writes:
>> I have attached v4 of the patch against HEAD, and also an incremental
>> patch showing just my changes against v3.
>>
>> I'll mark this as ready for committer.
Applied, with the discussed changes and some code editing.
regards, tom lane