Hi!
Thank you for interesting in it!
> These changes look very promising. Unfortunately the proposed patches
> conflict with each other regardless the order of applying:
>
> ```
> error: patch failed: src/backend/utils/cache/typcache.c:356
> error: src/backend/utils/cache/typcache.c: patch does not apply
> ```
Try increase -F option of patch.
Anyway, union of both patches in attachment
--
Teodor Sigaev E-mail: teodor@sigaev.ru
WWW: http://www.sigaev.ru/