Dima Pavlov <imyfess(at)gmail(dot)com> writes:
> Will that bug be fixed?
Eventually. I've written a draft patch here:
https://www.postgresql.org/message-id/1788.1481605684%40sss.pgh.pa.us
I'm not sure we'd risk back-patching it into stable branches, though.
regards, tom lane