Thread: Re: Segmentation fault - Win2k w/ Cygwin & Postgresql 7.
There's a problem with cygwin-1.3.9. You need to use the latest cygwin1.dll snapshot from http:\\cygwin.com\snapshots . Put this in /bin (default of c:\cygwin\bin) - Stuart > -----Original Message----- > From: Paul Marcotte [mailto:paul@fancybread.com] > Sent: 27 February 2002 20:51 > Postgresql 7.2 > > > Hi, > > Following all the instruction I could find, I installed Cygwin with > latest Postgresql (7.2) and cygipc (1.11-1). > > created a postgres user in win2k. > created the /usr/local/pgsql/data dir using the postgres user > ran initdb -D /usr/local/pgsql/data without problems > > Installed pgADmin II > > I can start and stop the server using pg_ctl. > I can connect to Postgresql through pgAdmin when I start > postmaster with > the -i option > > My problem is that I can't use psql. I get an error - > Segmentation fault > (core dumped) > > logfile reads: > pg_recvbuf: unexpected EOF on client connection > incomplete startup packet > > Nor can I use createdb! > Error Signal 11 with same logfile remarks > > Before I have to rely on the GUI to get by, I would like to > have a firm > grasp of psql through command line. > > Any ideas? > > Paul Marcotte > > > > ---------------------------(end of > broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster >
On Thu, Feb 28, 2002 at 09:23:56AM +0000, Henshall, Stuart - WCP wrote: > There's a problem with cygwin-1.3.9. You need to use the latest > cygwin1.dll snapshot from http:\\cygwin.com\snapshots . > Put this in /bin (default of c:\cygwin\bin) Actually (and thankfully) , Cygwin 1.3.10-1 was just released. Please use that version instead. Jason
Tried the snapshot first, but I had already corrupted my pg_hba.conf file with attempts to fix... Downloading -1.3.10-1 worked! Thanks... Paul Marcotte -----Original Message----- From: Jason Tishler <jason@tishler.net> To: "Henshall, Stuart - WCP" <SHenshall@westcountrypublications.co.uk> Date: Thu, 28 Feb 2002 08:03:40 -0500 Subject: Re: [CYGWIN] Segmentation fault - Win2k w/ Cygwin & Postgresql 7. > On Thu, Feb 28, 2002 at 09:23:56AM +0000, Henshall, Stuart - WCP wrote: > > There's a problem with cygwin-1.3.9. You need to use the latest > > cygwin1.dll snapshot from http:\\cygwin.com\snapshots . > > Put this in /bin (default of c:\cygwin\bin) > > Actually (and thankfully) , Cygwin 1.3.10-1 was just released. Please > use > that version instead. > > Jason >
Hi all Is it normal behaviour that psql does all its output via less? Is there a possibility to have psql working like it does under Linux? Greetings Conni