"Jens Hartwig" <jhartwig@debis.com> writes:
> psql: FATAL 1: Database 'mydb', OID 10857280, has disappeared from
> pg_database
Try vacuuming pg_database. The code in GetRawDatabaseInfo is not very
good about handling replaced pg_database tuples (I've improved it for
7.1 but that won't help you today).
regards, tom lane