Re: Problem with initdb: creates database which do not exists

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: adrian(dot)klaver(at)gmail(dot)com
Cc: pgsql-general(at)postgresql(dot)org, Torsten Zühlsdorff <foo(at)meisterderspiele(dot)de>
Subject: Re: Problem with initdb: creates database which do not exists
Date: 2010-10-18 15:11:47
Message-ID: 19964.1287414707@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> writes:
> On Monday 18 October 2010 7:46:21 am Torsten Zhlsdorff wrote:
>> So: any idea why the database is not visible? And how do get rid of the
>> "non-existing" databases ;)

> My guess is that you have more than one installation of Postgres. The initdb is
> working on one cluster and your psql is pointing at another.

Yeah. In particular, since I didn't see any server start or stop
commands in this sequence, it looks like the psql calls are talking to
some pre-existing server process that's using a pre-existing database
directory somewhere else.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moran 2010-10-18 15:15:26 Re: Problem with initdb: creates database which do not exists
Previous Message Adrian Klaver 2010-10-18 15:07:50 Re: Problem with initdb: creates database which do not exists