pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David G Johnston <david.g.johnston@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: Re: initdb -E UTF-8 postgres ..\data fails
Date: Tue, 22 Jul 2014 19:58:17 -0700 (PDT)
Message-ID: <1406084297804-5812460.post@n5.nabble.com> (raw)
In-Reply-To: <5D85D5496DBB9A44B92E42708D1A7E5F85BC45B2@SMARTMBX02.smart.LOCAL>
References: <5D85D5496DBB9A44B92E42708D1A7E5F85BC45B2@SMARTMBX02.smart.LOCAL>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

OLIVER, Michael N. wrote
> Following your installation tutorial on Windows 7 64bit.
> 
> The error says too many command-line arguments...
> 
> But I believe the error should be database already exists.

You might want to link to the document you are referring to.

Initdb only takes a single argument <directory>.  You have provided two:
"postgres" and "..\data"

It doesn't get far enough to check for an existing database since you messed
up the command itself.

http://www.postgresql.org/docs/9.3/static/app-initdb.html

David J.




--
View this message in context: http://postgresql.1045698.n5.nabble.com/initdb-E-UTF-8-postgres-data-fails-tp5812459p5812460.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <1406084297804-5812460.post@n5.nabble.com>
Permalink:  ../1406084297804-5812460.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1406084297804-5812460.post@n5.nabble.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-bugs@postgresql.org
  Cc: david.g.johnston@gmail.com
  Subject: Re: initdb -E UTF-8 postgres ..\data fails
  In-Reply-To: <1406084297804-5812460.post@n5.nabble.com>
  References: <5D85D5496DBB9A44B92E42708D1A7E5F85BC45B2@SMARTMBX02.smart.LOCAL> <1406084297804-5812460.post@n5.nabble.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