Thread: Bug #919: Can't initialize a database cluster in Cygwin/PostgreSQL 7.3.2

Bug #919: Can't initialize a database cluster in Cygwin/PostgreSQL 7.3.2

From
pgsql-bugs@postgresql.org
Date:
Stephane Decleire (sdecleire@cariboo-networks.com) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Can't initialize a database cluster in Cygwin/PostgreSQL 7.3.2

Long Description
Hi,

When I try to initialize a new database cluster in Cygwin / PostgreSQL 7.3.2, I just get the error listed here under.

Sample Code
$ initdb -D /cygdrive/d/data/pg -d
Running with debug mode on.

initdb variables:
  PGDATA=/cygdrive/d/data/pg
  datadir=/usr/share/postgresql
  PGPATH=/usr/bin
  ENCODING=
  ENCODINGID=0
  POSTGRES_SUPERUSERNAME=Steph
  POSTGRES_BKI=/usr/share/postgresql/postgres.bki
  POSTGRES_DESCR=/usr/share/postgresql/postgres.description
  POSTGRESQL_CONF_SAMPLE=/usr/share/postgresql/postgresql.conf.sample
  PG_HBA_SAMPLE=/usr/share/postgresql/pg_hba.conf.sample
  PG_IDENT_SAMPLE=/usr/share/postgresql/pg_ident.conf.sample
The files belonging to this database system will be owned by user "Steph".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /cygdrive/d/data/pg... ok
creating directory /cygdrive/d/data/pg/base... ok
creating directory /cygdrive/d/data/pg/global... ok
creating directory /cygdrive/d/data/pg/pg_xlog... ok
creating directory /cygdrive/d/data/pg/pg_clog... ok
creating template1 database in /cygdrive/d/data/pg/base/1... DEBUG:  invoking Ip
cMemoryCreate(size=991232)
IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Function not implemente
d
DEBUG:  proc_exit(1)
DEBUG:  shmem_exit(1)
DEBUG:  exit(1)

initdb failed.
Removing /cygdrive/d/data/pg.

No file was uploaded with this report