Yury Zhuravlev <u(dot)zhuravlev(at)postgrespro(dot)ru> writes:> New patch version in attachment.
It's still awfully short on comments, but I'll see what I can do with it.
regards, tom lane