cleanup & refactoring on reindexdb.c - Mailing list pgsql-hackers

From Julien Rouhaud
Subject cleanup & refactoring on reindexdb.c
Date
Msg-id CAOBaU_bSmSik_WRK9niDnm-3NkNZky6+uKxkmQwvthZvMWpS5A@mail.gmail.com
Whole thread Raw
Responses Re: cleanup & refactoring on reindexdb.c  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
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.

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Wrong dead return value in jsonb_utils.c
Next
From: Andrew Dunstan
Date:
Subject: Re: Why is infinite_recurse test suddenly failing?