Hi!
Patch stop applying due to changes in upstream.Here is a rebased version.
-- With best regards,Dmitry Koval
Postgres Professional: http://postgrespro.com