Re: command initdb not found

makhan <[email protected]> Mon, 5 Mar 2007 16:00:01 -0800 (PST)
Newsgroups gmane.comp.db.postgresql.cygwin
Message-ID <[email protected]>
Hi

I am facing the same problem, can you plz tell me what did u do to solve it.

Regards
MAK

=E3=83=9E=E3=83=8B=E3=83=BC=E3=82=B7=E3=83=A5=E3=80=80=E3=82=B7=E3=83=A3=E3=
=83=AB=E3=83=9E wrote:
>=20
> Hi ,
> I have downloaded and installed cygwin as stated in
> FAQ_CYGWIN for postgresql
> I have followed the steps below
>=20
> 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.
>=20
> 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.
>=20
>     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.
>=20
> 3.  Once the download and install process is complete, open a Cygwin
>     shell and do the following for a basic installation:
>=20
>     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).
>=20
> Result:
> $ /usr/sbin/cygserver &
> [1] 1320
>=20
>  3b.  Use the initdb command to create a new database cluster.  An
>          example command would be:
>=20
>             initdb -D /usr/local/pgsql/data -W -E SHIFT_JIS
>=20
> BUT After passing initdb command the cywin is prompting a error
>=20
> Result:
> $ initdb -D /usr/local/pgsql/data -W -E SHIFT_JIS
> bash: initdb: command not found
>=20
> What could be the possible error?
>=20
> Please help me install Postgresql on Windows 2000 (JP Version) SP4.
>=20
> Thanks in advance
> Maneesh
> Japan
>=20

--=20
View this message in context: http://www.nabble.com/command-initdb-not-foun=
d-tf1305010.html#a9323514
Sent from the PostgreSQL - cygwin mailing list archive at Nabble.com.


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match