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

Re: no entry on pg_database for a live database

From: "Mark Steben" <msteben(at)autorevenue(dot)com>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: no entry on pg_database for a live database
Date: 2008-01-23 20:42:58
Message-ID: 003801c85e00$89934480$14010a0a@dei26g028575 (view raw or flat)
Thread:
Lists: pgsql-admin
Thanks Tom - that did the trick
We will be upgrading to 8.2 within the next couple weeks.

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us] 
Sent: Tuesday, January 22, 2008 12:20 PM
To: Mark Steben
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] no entry on pg_database for a live database 

"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: Tom LaneDate: 2008-01-23 20:56:58
Subject: Re: no entry on pg_database for a live database
Previous:From: Tom LaneDate: 2008-01-22 22:22:57
Subject: Re: src equivelant of postgresql-python

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