Re: psql client does not handle WSAEWOULDBLOCK on Windows - Mailing list pgsql-hackers

From Umar Hayat
Subject Re: psql client does not handle WSAEWOULDBLOCK on Windows
Date
Msg-id 172287105898.1651441.16829580178609704020.pgcf@coridan.postgresql.org
Whole thread Raw
In response to psql client does not handle WSAEWOULDBLOCK on Windows  (Ning <ning94803@gmail.com>)
List 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

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Amcheck verification of GiST and GIN
Next
From: Tomas Vondra
Date:
Subject: Re: WIP: parallel GiST index builds