Re: psql client does not handle WSAEWOULDBLOCK on Windows
Umar Hayat <postgresql.wizard@gmail.com>
From: Umar Hayat <postgresql.wizard@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Date: 2024-08-05T15:17:38Z
Lists: pgsql-hackers
I have not reproduce your test scenario, looking at code please see following comments: If you check the function definition of pqsecure_raw_read() it actually do set errno like bellow SOCK_ERRNO_SET(result_errno); where result_errno = SOCK_ERRNO Means anybody using those function pqsecure_raw_read/write, does not need to take care of portable ERRNO. Regards Umar Hayat The new status of this patch is: Waiting on Author
Commits
-
Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c.
- fc287cf3c4c9 13.23 landed
- f46d77377b9a 14.20 landed
- ea78bd6d5d0f 19 (unreleased) landed
- d83879a32b48 18.1 landed
- 771b106d1994 15.15 landed
- 46c4478db421 16.11 landed
- 1c4671f7b7c3 17.7 landed