Re: initdb -E UTF-8 postgres ..\data fails - Mailing list pgsql-bugs

From David G Johnston
Subject Re: initdb -E UTF-8 postgres ..\data fails
Date
Msg-id 1406084297804-5812460.post@n5.nabble.com
Whole thread Raw
In response to initdb -E UTF-8 postgres ..\data fails  ("OLIVER, Michael N." <MNOliver@smart.com.ph>)
List pgsql-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.

pgsql-bugs by date:

Previous
From: Jeff Fischer
Date:
Subject: Re: BUG #10972: string_agg function incorrectly concatenating varying delimiter
Next
From: amutu@amutu.com
Date:
Subject: BUG #11022: \copy report negative row number