Hi, As discussed in https://www.postgresql.org/message-id/CAOBaU_Yo61RwNO3cW6WVYWwH7EYMPuexhKqufb2nFGOdunbcHw@mail.gmail.com, current coding in reindexdb.c is error prone, and reindex_system_catalogs() is also not really required. I attach two patches to fix both (it could be squashed in a single commit as both are straightforward), for upcoming v13.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных