Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group