This is an issue with the libpqxx library, which is the C++ binding for Postgres. The package changed during 15.12 development. If you try with 15.12, the problem should be fixed… or you can look at the 15.12 source for SystemCatalog.cpp and use it as a guide for modifying 15.7 (Hmmm, risky.).