Re: pg_dump: missing pg_database entry

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: gl(at)lbn(dot)fr
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump: missing pg_database entry
Date: 2006-06-13 14:59:19
Message-ID: 22802.1150210759@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

gl(at)lbn(dot)fr writes:
> I'm experiencing a strange problem with PostgreSQL 7.4.9.
> One of my database production servers has 2 large databases, it's still
> possible to connect to them and pass queries, but the pg_database
> system table is empty, which prohibits such actions as dumping the
> databases.

Sounds like XID wraparound. Does vacuuming pg_database make the problem
go away? If so, I'd recommend doing database-wide vacuums in all your
databases ASAP. And then instituting a regular vacuum maintenance schedule.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel McBrearty 2006-06-13 15:01:01 table has a many to many relationship with itself ... ?
Previous Message Peter Wilson 2006-06-13 14:49:51 Re: PostgreSQL and Apache