pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
initdb -E UTF-8 postgres ..\data fails
2+ messages / 2 participants
[nested] [flat]

* initdb -E UTF-8 postgres ..\data fails
@ 2014-07-23 01:34  OLIVER, Michael N. <MNOliver@smart.com.ph>
  0 siblings, 1 reply; 2+ messages in thread

From: OLIVER, Michael N. @ 2014-07-23 01:34 UTC (permalink / raw)
  To: pgsql-bugs

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.

Michael "MO" Oliver
Lead Architect, Smart SOA COE
42F Rufino Pacific Tower
09479927462

This communication is intended solely for the use of the addressee and authorized recipients.  It may contain confidential or legally privileged information and is subject to the conditions in http://www1.smart.com.ph/corporate/disclaimer.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: initdb -E UTF-8 postgres ..\data fails
@ 2014-07-23 02:58  David G Johnston <david.g.johnston@gmail.com>
  parent: OLIVER, Michael N. <MNOliver@smart.com.ph>
  0 siblings, 0 replies; 2+ messages in thread

From: David G Johnston @ 2014-07-23 02:58 UTC (permalink / raw)
  To: 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.


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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2014-07-23 02:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-07-23 01:34 initdb -E UTF-8 postgres ..\data fails OLIVER, Michael N. <MNOliver@smart.com.ph>
2014-07-23 02:58 ` David G Johnston <david.g.johnston@gmail.com>

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