Re: Problem with initdb: creates database which do not exists - Mailing list pgsql-general

From Tom Lane
Subject Re: Problem with initdb: creates database which do not exists
Date
Msg-id 19964.1287414707@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problem with initdb: creates database which do not exists  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: Problem with initdb: creates database which do not exists  (Bill Moran <wmoran@potentialtech.com>)
List pgsql-general
Adrian Klaver <adrian.klaver@gmail.com> writes:
> On Monday 18 October 2010 7:46:21 am Torsten Z�hlsdorff 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

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Problem with initdb: creates database which do not exists
Next
From: Bill Moran
Date:
Subject: Re: Problem with initdb: creates database which do not exists