pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mario Splivalo <mario.splivalo@mobart.hr>
To: PostgreSQL Admin <pgsql-admin@postgresql.org>
Subject: createdb: database postgres does not exists
Date: Fri, 20 Apr 2007 13:52:11 +0200
Message-ID: <1177069931.10413.12.camel@localhost.localdomain> (raw)

I have postgres 8.1 on WindowsXP, installed via postgres installer. I
have the user postgres on the cluster. When I try to create database
from command line:

createdb -U postgres test_db_1

I get error that 'postgres database does not exists'. When I try to
create db from EMS manager, everything works fine.

I noticed that on my linux boxes initdb creates databases postgres,
template0 and template1. 

Is this a bug in windows installer, or am I doing something wrong?

	Mike




Message-ID: <1177069931.10413.12.camel@localhost.localdomain>
Permalink:  ../1177069931.10413.12.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1177069931.10413.12.camel@localhost.localdomain

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: mario.splivalo@mobart.hr
  Subject: Re: createdb: database postgres does not exists
  In-Reply-To: <1177069931.10413.12.camel@localhost.localdomain>

* 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