Merged this change into the [to_regtypemod patch](https://commitfest.postgresql.org/47/4807/), which has exactly the sameissue. The new status of this patch is: Needs review
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных