Received: from neptun.sns-felb.debis.de (neptun.sns-felb.debis.de [53.122.101.2]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f0TC2Jq79848 for ; Mon, 29 Jan 2001 07:02:19 -0500 (EST) (envelope-from jhartwig@debis.com) Received: by neptun.sns-felb.debis.de; id NAA22553; Mon, 29 Jan 2001 13:07:03 +0100 Received: from unknown(53.113.82.10) by neptun.sns-felb.debis.de via smap (V5.0) id xma022542; Mon, 29 Jan 01 13:06:57 +0100 Received: from mail1.b3.dsh.de (localhost [127.0.0.1]) by dshmail1.dsh.de (8.9.1/8.8.7) with ESMTP id NAA22162 for ; Mon, 29 Jan 2001 13:07:15 +0100 (MET) Received: from 0000864A433A ([138.201.10.193]) by mail1.b3.dsh.de (8.10.0/8.10.0) with SMTP id f0TC1vN00485 for ; Mon, 29 Jan 2001 13:01:57 +0100 From: "Jens Hartwig" To: Subject: Database ... has disappeared from pg_database Date: Mon, 29 Jan 2001 13:01:48 +0100 Message-ID: <003b01c089eb$42c99180$c10ac98a@0000864A433A> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Archive-Number: 200101/206 X-Sequence-Number: 583 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 =============================================