Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cf/5154~1
Choose a base ref
...
head repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf/5154
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Apr 3, 2025

  1. Fix error handling for non-blocking socket on Windows

    The connection fails with a non-blocking socket error when using psql on
    Windows to connect to a PostgreSQL server with GSSAPI enabled.
    
    On Windows, the socket error code is obtained by WSAGetLastError() instead of
    errno. This causes the value of errno to be incorrect when handling with
    non-blocking socket error.
    
    By using the SOCK_ERRNO macro to ensure that all platforms can get the error
    code correctly.
    
    Authored-by: Ning Wu <[email protected]>
    Ning Wu authored and Commitfest Bot committed Apr 3, 2025
    Configuration menu
    Copy the full SHA
    586d06a View commit details
    Browse the repository at this point in the history
  2. [CF 5154] psql client does not handle WSAEWOULDBLOCK on Windows

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5154
    
    The branch will be overwritten each time a new patch version is posted to
    the thread, and also periodically to check for bitrot caused by changes
    on the master branch.
    
    Patch(es): https://www.postgresql.org/message-id/CAFGqpvg-pRw=cdsUpKYfwY6D3d-m9tw8WMcAEE7HHWfm-oYWvw@mail.gmail.com
    Author(s):
    Commitfest Bot committed Apr 3, 2025
    Configuration menu
    Copy the full SHA
    efe3a9a View commit details
    Browse the repository at this point in the history
Loading