Re: pg_dump: missing pg_database entry - Mailing list pgsql-general

From gl@lbn.fr
Subject Re: pg_dump: missing pg_database entry
Date
Msg-id 1150212927.698366.24070@f6g2000cwb.googlegroups.com
Whole thread Raw
In response to Re: pg_dump: missing pg_database entry  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane a écrit :

> gl@lbn.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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>                http://archives.postgresql.org

Thanks for your answers.

Indeed, the vacuum schedule was not regularly executed. Manually
launching the procedure solved the problem.

Regards,
GL


pgsql-general by date:

Previous
From: "Daniel McBrearty"
Date:
Subject: table has a many to many relationship with itself ... ?
Next
From: Haroon Sayyad
Date:
Subject: need help to recover database