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 Oct 5, 2025

  1. 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.
    
    We have a convention for dealing with this within libpq, which is to
    use SOCK_ERRNO and SOCK_ERRNO_SET rather than touching errno directly;
    but the GSSAPI code is a relative latecomer and did not get that memo.
    (The equivalent backend code continues to use errno, because the
    backend does this differently.  Maybe libpq's approach should be
    rethought someday.)
    
    Author: Ning Wu <[email protected]>
    Co-authored-by: Tom Lane <[email protected]>
    Discussion: https://postgr.es/m/CAFGqpvg-pRw=cdsUpKYfwY6D3d-m9tw8WMcAEE7HHWfm-oYWvw@mail.gmail.com
    Backpatch-through: 13
    tglsfdc authored and Commitfest Bot committed Oct 5, 2025
    Configuration menu
    Copy the full SHA
    f1ef654 View commit details
    Browse the repository at this point in the history
  2. [CF 5154] v2 - 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/[email protected]
    Author(s):
    Commitfest Bot committed Oct 5, 2025
    Configuration menu
    Copy the full SHA
    3e794e7 View commit details
    Browse the repository at this point in the history
Loading