pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Judy Jecelin <jjecelin@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problem/Question
Date: Thu, 21 Feb 2002 15:01:52 -0800 (PST)
Message-ID: <20020221150012.U23226-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <20020220180605.76687.qmail@web12805.mail.yahoo.com>


On Wed, 20 Feb 2002, Judy Jecelin wrote:

>
> Hi,
>
> I'm at my wits end with this one.
>
> I'm using PostgreSQL 7.1.3 on Solaris 2.8.
> I want to create two databases in the same
> postmaster.  I did my initdb and started
> the postmaster.  I set two environment
> variables, one for each database's location.
> Next:
>
> initlocation -D DB1
> initlocation -D DB2
>
> createuser DB1
> createuser DB2
>
> createdb -U DB1 -D DB1
> createdb -U DB2 -D DB2
>
> The first createdb works fine, the second:
> ERROR: CREATE DATABSAE: database "postgres" already
> exists
> createdb: database creation failed

You aren't making different database names with those
createdbs.  I'd guess you probably wanted:
createdb -U DB1 -D DB1 DB1
createdb -U DB2 -D DB2 DB2





view thread (2+ messages)

Message-ID: <20020221150012.U23226-100000@megazone23.bigpanda.com>
Permalink:  ../20020221150012.U23226-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20020221150012.U23226-100000@megazone23.bigpanda.com

 · 

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: sszabo@megazone23.bigpanda.com, jjecelin@yahoo.com
  Subject: Re: Problem/Question
  In-Reply-To: <20020221150012.U23226-100000@megazone23.bigpanda.com>
  References: <20020220180605.76687.qmail@web12805.mail.yahoo.com> <20020221150012.U23226-100000@megazone23.bigpanda.com>

* 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