initialzing a cluster

Поиск
Список
Период
Сортировка
От Richard Dunne
Тема initialzing a cluster
Дата
Msg-id 20050713155950.68577.qmail@web50310.mail.yahoo.com
обсуждение исходный текст
Список pgsql-cygwin
I tried to initialize a cluster using Cygwin.exe using this URL:
 
 
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

В списке pgsql-cygwin по дате отправления:

Предыдущее
От: Erik Brunar
Дата:
Сообщение: postmaster startup segfault: STATUS_ACCESS_VIOLATION at eip=610028AA
Следующее
От: "Ian Oxley"
Дата:
Сообщение: initdb 'no such file or directory' error