From: | pgsql-bugs(at)postgresql(dot)org |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Bug #752: I fixed (worked arround) bug pqReadData function on HPUX |
Date: | 2002-08-28 22:31:44 |
Message-ID: | 20020828223144.6AF93475C14@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Diedrich Vorberg (diedrich(at)tux4web(dot)de) reports a bug with a severity of 2
The lower the number the more severe it is.
Short Description
I fixed (worked arround) bug pqReadData function on HPUX
Long Description
Version: 7.2.1
uname -a: HP-UX c200 B.11.11 U 9000/782
I used to get a "could not receive data from server: Error: 0" error message from the pqReadData function in fe-misc.c:491. Turns out recv() returnes -1 but set errno to 0. I just guessed that means theres nothing more to read and added a line
if (SOCK_ERRNO == 0) return someread;
which made the problem go away. I have not taken the time to investigate further and I am afraid my expertise is insufficient :)
Sorry about my poor Server-programming, hope this points you in the right direction.
Diedrich
Sample Code
No file was uploaded with this report
From | Date | Subject | |
---|---|---|---|
Next Message | pgsql-bugs | 2002-08-29 08:26:51 | Bug #753: test |
Previous Message | Bruce Momjian | 2002-08-28 18:00:34 | Re: cube bug accepting -.1 |