pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Elphick <olly@lfix.co.uk>
To: Roman Kurmanowytsch <romank@infosys.tuwien.ac.at>
Cc: pgsql-admin@postgreSQL.org
Cc: olly@linda.lfix.co.uk
Subject: Re: [ADMIN] Cannot install postgreSQL
Date: Tue, 07 Mar 2000 19:11:14 +0000
Message-ID: <200003071911.TAA06936@linda.lfix.co.uk> (raw)
In-Reply-To: <romank@infosys.tuwien.ac.at> <200003071654.QAA01755@otter.hpl.hp.com>
References: <200003071654.QAA01755@otter.hpl.hp.com>

Roman Kurmanowytsch wrote:
  >Seems OK to me, but when I run postgres (after starting the ipc daemon) with
      >:
  >postgres.exe -i
  >I get the following error-message:
  >
  ><OUTPUT>
  >FATAL 1:  Database romkur does not exist in pg_database
  >FATAL 1:  Database romkur does not exist in pg_database
  ></OUTPUT>
  >
 
There is no database called "romkur", because you haven't yet created it.

When initdb is run, it creates a database called template1; this is the
only database that exists until you create some more.

When you try to connect as a database user, postgres assumes you want
your eponymous database, unless you tell it different.  So tell it
you want to connect to template1.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
               PGP key from public servers; key ID 32B8FAA1
                 ========================================
     "Go ye therefore, and teach all nations, baptizing them
      in the name of the Father, and of the Son, and of the 
      Holy Ghost; Teaching them to observe all things  
      whatsoever I have commanded you; and, lo, I am with 
      you alway, even unto the end of the world. Amen."     
                     Matthew 28:19,20 





view thread (6+ messages)  latest in thread

Message-ID: <200003071911.TAA06936@linda.lfix.co.uk>
Permalink:  ../200003071911.TAA06936@linda.lfix.co.uk/
Also on:    postgresql.org/message-id/200003071911.TAA06936@linda.lfix.co.uk

 · 

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: olly@lfix.co.uk, romank@infosys.tuwien.ac.at, olly@linda.lfix.co.uk
  Subject: Re: [ADMIN] Cannot install postgreSQL
  In-Reply-To: <200003071911.TAA06936@linda.lfix.co.uk>
  References: <200003071654.QAA01755@otter.hpl.hp.com> <200003071911.TAA06936@linda.lfix.co.uk>

* 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