Robuta

https://commitfest.postgresql.org/patch/4794/ Remove potentially redundant smgropen() calls removepotentiallyredundantcalls