>>>>> "tsuraan" == tsuraan <tsuraan(at)gmail(dot)com> writes:
>> What is in the pg_database row (especially the dattablespace column) for
>> that database?
tsuraan> Well, that can't be good:
tsuraan> psql (10.1)
tsuraan> Type "help" for help.
tsuraan> root=# select * from pg_database;
tsuraan> ERROR: cache lookup failed for type 0
tsuraan> I get that both on the original system (running 10.1) and on
tsuraan> my up-to-date system that's running 10.5.
Does that error persist if you delete all files named pg_internal.init
in the data dir? (those files are a cache of the system tables and are
regenerated on the next new connection if they are missing)
--
Andrew (irc:RhodiumToad)