Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <4097F026.4020705@x-ray.at>
Date: Tue, 04 May 2004 21:33:58 +0200
From: Reini Urban <rurban@x-ray.at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7b) Gecko/20040421 MultiZilla/1.5.0.4h
MIME-Version: 1.0
To: Cygwin List <cygwin@cygwin.com>
Subject: Re: postgresql problem
References: <20040504172609.GA9872@SDF.LONESTAR.ORG> <6.1.0.6.0.20040504150541.03146828@127.0.0.1>
In-Reply-To: <6.1.0.6.0.20040504150541.03146828@127.0.0.1>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on hornet.mur.at
X-Spam-Level: 
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63
X-IsSubscribed: yes

Larry Hall schrieb:
>>initdb doesn't work, because it says the shmget system call is not
>>implemented.  Is there anything I can do about this?

You need to start ipc-daemon2 before.

> <http://www.tishler.net/jason/software/postgresql/postgresql-7.4.1.README>
> BTW, I found this by googling.  It's loads of fun! ;-)

less /usr/share/doc/postgresql-7.4.1/README and
less /usr/share/doc/Cygwin/postgresql-7.4.1.README
is enough.

And one important issue is missing from the first section
of the README:
And you need to pass --locale=C to initdb also.
I use this:

$ ipc-daemon2 --install-as-service
$ net start ipc-daemon2
$ export PGDATA=/usr/share/postgresql/data
$ initdb --locale=C
$ pg_ctl -o -i

Option -i to enable TCP/IP connections since I couldn't make it connect 
via sockets.
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

