BUG #1090: initdb does not work - Mailing list pgsql-bugs

From PostgreSQL Bugs List
Subject BUG #1090: initdb does not work
Date
Msg-id 20040303030759.6B44FCF4D3C@www.postgresql.com
Whole thread Raw
Responses Re: BUG #1090: initdb does not work
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1090
Logged by:          Simon

Email address:      simon.huang@miusi.com

PostgreSQL version: 7.4

Operating system:   windows and cygwin

Description:        initdb does not work

Details:

hi,
I installed the last version of cygwin(the version of the setup.exe is
2.416) in my windows XP, when I want to init the postgres, it throw a error
could you please tell me how to solve this problem

thanks in advanced
Simon

-----------------------------------------
$ initdb -D /usr/share/postgresql/data
The files belonging to this database system will be owned by user "Simon
Huang".

This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /usr/share/postgresql/data... ok
creating directory /usr/share/postgresql/data/base... ok
creating directory /usr/share/postgresql/data/global... ok
creating directory /usr/share/postgresql/data/pg_xlog... ok
creating directory /usr/share/postgresql/data/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /usr/share/postgresql/data/base/1... FATAL:
coul
d not create shared memory segment: Function not implemented
DETAIL:  Failed system call was shmget(key=1, size=1081344, 03600).

initdb: failed
initdb: removing data directory "/usr/share/postgresql/data"

pgsql-bugs by date:

Previous
From: 帅猛
Date:
Subject: 转发: docs on tsearch2
Next
From: Richard Huxton
Date:
Subject: Re: BUG #1090: initdb does not work