pgsql: Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c.

2025-10-18 Thread Tom Lane
Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c. On Windows, this code did not handle error conditions correctly at all, since it looked at "errno" which is not used for socket-related errors on that platform. This resulted, for example, in failure to connect to a PostgreSQL server with GSSAPI enabled

pgsql: Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c.

2025-10-18 Thread Tom Lane
Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c. On Windows, this code did not handle error conditions correctly at all, since it looked at "errno" which is not used for socket-related errors on that platform. This resulted, for example, in failure to connect to a PostgreSQL server with GSSAPI enabled

pgsql: Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c.

2025-10-18 Thread Tom Lane
Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c. On Windows, this code did not handle error conditions correctly at all, since it looked at "errno" which is not used for socket-related errors on that platform. This resulted, for example, in failure to connect to a PostgreSQL server with GSSAPI enabled

pgsql: Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c.

2025-10-17 Thread Tom Lane
Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c. On Windows, this code did not handle error conditions correctly at all, since it looked at "errno" which is not used for socket-related errors on that platform. This resulted, for example, in failure to connect to a PostgreSQL server with GSSAPI enabled

pgsql: Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c.

2025-10-17 Thread Tom Lane
Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c. On Windows, this code did not handle error conditions correctly at all, since it looked at "errno" which is not used for socket-related errors on that platform. This resulted, for example, in failure to connect to a PostgreSQL server with GSSAPI enabled

pgsql: Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c.

2025-10-17 Thread Tom Lane
Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c. On Windows, this code did not handle error conditions correctly at all, since it looked at "errno" which is not used for socket-related errors on that platform. This resulted, for example, in failure to connect to a PostgreSQL server with GSSAPI enabled

pgsql: Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c.

2025-10-17 Thread Tom Lane
Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c. On Windows, this code did not handle error conditions correctly at all, since it looked at "errno" which is not used for socket-related errors on that platform. This resulted, for example, in failure to connect to a PostgreSQL server with GSSAPI enabled