Ativar o Postgresql no Cygwin

Eu instaleiCygwin com Perl ePostgresql pacotes habilitados.

Então digitado:

 /usr/bin/cygserver-config (This will install the service)

Então digite:

net start cygserver(This starts the service)

Em seguida eu preciso ativar o Postgresql no Cygwin, então eu tentei os comandos mencionados abaixo:

cygrunsrv -S cygserver

initdb -D /usr/share/postgresql/data

pg_ctl start -D /usr/share/postgresql/data -l /var/log/postgresql.log

createdb

psql

Eu recebo um erro:

$ initdb -D /usr/share/postgresql/data
-bash: initdb: command not found

$ pg_ctl start -D /usr/share/postgresql/data -l /var/log/postgresql.log
-bash: pg_ctl: command not found

Alguém pode me dizer como acertar?

questionAnswers(1)

yourAnswerToTheQuestion