Second version of the patch - resolve non-symmetrical decision, thanks to Teodor Sigaev's review.
-- regards,Andrei LepikhovPostgres Professional