"Gauthier, Dave" <dave(dot)gauthier(at)intel(dot)com> writes:
> After running intoa problem last week where I cannot rename an existing
> DB because it's reported to not exist (I can attach to it and query OK,
> but rename gives... "database foo does not exist"),
Would you show the results of
select oid,ctid,xmin,xmax,datname from pg_database
as well as the contents of $PGDATA/global/pg_database and a directory
listing of $PGDATA/base?
regards, tom lane