Re: no entry on pg_database for a live database

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mark Steben" <msteben(at)autorevenue(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: no entry on pg_database for a live database
Date: 2008-01-22 17:19:42
Message-ID: 3710.1201022382@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Mark Steben" <msteben(at)autorevenue(dot)com> writes:
> I have a live postgres database with 4 application tables. I can access it
> through PSQL.
> But there is no record of this database on the PG_DATABASE catalog table.

Try vacuuming pg_database.

If that works, it means your routine vacuuming procedures need some
re-thinking, because they are missing (at least) pg_database.

> I'm running version 7.4.5.

You're doing yourself no favors by failing to update. The current
release in that branch is 7.4.19.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Shane Ambler 2008-01-22 17:24:17 Re: no entry on pg_database for a live database
Previous Message Mark Steben 2008-01-22 16:05:02 no entry on pg_database for a live database