Issue #3283311 by poker10, hubaishan, daffie, andypost, alexpott, jhmnieuwenhuis, lamigo, xekon, x0r1x, puddyglum, qdelance: D7 backport support for Postgresql 12