Joshua Daniel Franklin <joshuadfranklin(at)gmail(dot)com> writes:
> NOTICE: table "pg_database" was reindexed
So you did the reindex ...
> xbrain_queries=# \l
> List of databases
> Name | Owner | Encoding
> ------+-------+----------
> (0 rows)
... and it didn't help. I think this shows that the indexes weren't the
problem. More likely this is a transaction wraparound issue.
Have you tried "VACUUM pg_database"? Sometimes that can get you out
of wraparound problems.
regards, tom lane