"Tristan Partin" <tristan(at)partin(dot)io> writes:
> Found these "leaks" while doing some other work in the SQL/JSON area.
> Did some analysis to find that this should be backpatched through 17.
You sure those aren't intentional? One use of the regression
database's ending state is to serve as a test case for pg_upgrade,
so we like to leave around objects that are unique in some way.
regards, tom lane