initialzing a cluster

From: Richard Dunne <richarddunne1971(at)yahoo(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: initialzing a cluster
Date: 2005-07-13 15:59:50
Message-ID: 20050713155950.68577.qmail@web50310.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

I tried to initialize a cluster using Cygwin.exe using this URL:

http://www.postgresql.org/docs/faqs.FAQ_CYGWIN.html

1. Download and run the Cygwin installer. Visit http://cygwin.com/ and
click on the "Install Cygwin now' link. This will prompt you
to download a "setup.exe". Save this file somewhere on your
system and then execute it.

2. Proceed through the Cygwin install wizard. Choose 'Install from
Internet', specify a Local Package Directory and choose a mirror
site that's close to you. Answer the other installer questions
appropriately for your configuration.

When you come to the point of choosing which packages to install,
expand the 'Database' section and click 'Skip' next to PostgreSQL
to change it to the latest version of PostgreSQL available for
Cygwin.

3. Once the download and install process is complete, open a Cygwin
shell and do the following for a basic installation:

3a. Start cygserver for shared memory support. To do this,
enter the command "/usr/sbin/cygserver &". This program
needs to be running anytime you start the PostgreSQL server
(postmaster) or initialize a database (initdb).

This is fine.

Next step:

3b. Use the initdb command to create a new database cluster. An
example command would be:

initdb -D /usr/local/pgsql/data -W -E LATIN1

Which will create a cluster in the /usr/local/pgsql/data
directory, will prompt for a superuser password and will
set the default database encoding to LATIN1.

initdb command not recognized!

What am I doing wrong?

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Browse pgsql-cygwin by date

  From Date Subject
Next Message Support 2005-07-13 16:58:41 Problem with Cygwin 1.5.18
Previous Message Jeison Morais 2005-07-11 18:49:37 Error in PGSL in cywin with windows 2000