Re: Postgresql 7.1.3 on Win98 - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: Postgresql 7.1.3 on Win98
Date
Msg-id 20011005095144.K1544@dothill.com
Whole thread Raw
List pgsql-cygwin
Sushil,

In the future, please post to pgsql-cygwin@postgresql.org instead of
sending private email, so others can benefit too.

On Tue, Oct 02, 2001 at 09:08:43PM +0530, Sushil Kumar wrote:
>     I have been trying to install Postgresql 7.1.3 thru Cygwin under Win98.
> The docs say that it is not supported but do give a reference to
> mha@sollentuna.net. I tried to contact this person but got no response.
>
> Have you succeeded in getting Postgresql to run on Win98?

I have succeeded in running PostgreSQL under Windows 98 about a year ago,
but I haven't tried recently.  Since I don't have any 9x/Me machines I
cannot pursue this further.

> In my case the postmaster does run but I cannot connect thru psql though I
> use the -h localhost option with psql and start pg_ctl with -o -i.

Are you experiencing the same problem as the attached?  If so, then please
work with the others (on the pgsql-cygwin list) who are experiencing this
9x/Me, Cygwin socket problem to try to solve it.

Thanks,
Jason
Hi,

I try to do work PostgreSql on window 98.
I had try and succes on winnt, but on windows 98 I have the following
message :
pq_flush: send() failed: The descriptor is a file, not a socket
pq_recvbuf: recv() failed: The descriptor is a file, not a socket

It's the postmaster that sais this.
The initdb script is ok.

I try with some several options
PGHOST, PGPORT, PGDATA, but any of this change the error.

In a strace command (strace -o psql.log psql -h 120.0.0.1 template1),
I found this message

  848  330060 [main] psql 526351 cygwin_socket: 3 = socket (2, 1, 0)
  654  330714 [main] psql 526351 cygwin_setsockopt: setsockopt optval=1
  528  331242 [main] psql 526351 cygwin_setsockopt: 0 = setsockopt (3, 6, 1
(SO_DEBUG), 254FC18, 4)
45329288 45660530 [main] psql 526351 __set_winsock_errno:
cygwin_connect:883 - winsock error 10060 -> errno 116
  461 45660991 [main] psql 526351 _close: close (3)
  621 45661612 [main] psql 526351 fhandler_socket::close: 0 =
fhandler_socket::close()

If you have any idea ???
thank a lot

Sam


pgsql-cygwin by date:

Previous
From: Jason Tishler
Date:
Subject: Re: almost there
Next
From: Jason Tishler
Date:
Subject: Re: PostgreSql on windows 98