Re: initdb -E UTF-8 postgres ..\data fails

From: David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: initdb -E UTF-8 postgres ..\data fails
Date: 2014-07-23 02:58:17
Message-ID: 1406084297804-5812460.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message amutu 2014-07-23 05:15:59 BUG #11022: \copy report negative row number
Previous Message OLIVER, Michael N. 2014-07-23 01:34:43 initdb -E UTF-8 postgres ..\data fails