Re: Database OID xxxxx now seems to belong to "foo"

From: Richard Huxton <dev(at)archonet(dot)com>
To: "Gauthier, Dave" <dave(dot)gauthier(at)intel(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Database OID xxxxx now seems to belong to "foo"
Date: 2008-03-11 15:12:31
Message-ID: 47D6A15F.8060508@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gauthier, Dave wrote:
> I tried vacuum pg_database, no luck. I shut down and restarted the DB
> and it seems to have fixed the problem. Still, not sure why it happened
> in the first place or how to prevent it in the future.

> Trying (and failing) to attach to my DBs. Getting...
>
> database "foo_standby" has disappeared form pg_database
>
> DETAIL: Database OID 2323523 now seems to belong to "foo"

Hmm - if a shutdown + restart fixed it, I'm wondering if it wasn't just
a long-lived connection remembering where 2323523 used to point to.
You've not got a connection pool between you and the db or some such?

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Justin 2008-03-11 15:14:26 Re: how do you write aggregate function
Previous Message Tom Lane 2008-03-11 15:09:37 Re: Database OID xxxxx now seems to belong to "foo"