pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jens Hartwig <jhartwig@debis.com>
To: pgsql-admin@postgresql.org
Subject: Database ... has disappeared from pg_database
Date: Mon, 29 Jan 2001 13:01:48 +0100
Message-ID: <003b01c089eb$42c99180$c10ac98a@0000864A433A> (raw)

Hello all,

I am running into a strange error when creating a database which is located
in another directory than the default directory of PostgreSQL (7.0.2.):

I created a directory called mybase (as owner postgres). I ran the command
initlocation on this directory, then I declared an environment variable
PGDATA2 and restarted my postmaster.

With the command createdb mydb -D 'PGDATA2' I created a new database. When
trying to connect to this database I get the following error:

psql: FATAL 1:  Database 'mydb', OID 10857280, has disappeared from
pg_database

What has happened? Any suggestions would be welcome.

Best regards, Jens Hartwig

=============================================
Jens Hartwig
---------------------------------------------
debis Systemhaus GEI mbH
10875 Berlin
Tel.     : +49 (0)30 2554-3282
Fax      : +49 (0)30 2554-3187
Mobil    : +49 (0)170 167-2648
E-Mail   : jhartwig@debis.com
=============================================




view thread (3+ messages)  latest in thread

Message-ID: <003b01c089eb$42c99180$c10ac98a@0000864A433A>
Permalink:  ../003b01c089eb$42c99180$c10ac98a@0000864A433A/
Also on:    postgresql.org/message-id/003b01c089eb$42c99180$c10ac98a@0000864A433A

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jhartwig@debis.com
  Subject: Re: Database ... has disappeared from pg_database
  In-Reply-To: <003b01c089eb$42c99180$c10ac98a@0000864A433A>
  References: <003b01c089eb$42c99180$c10ac98a@0000864A433A>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox