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/5868~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/5868
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Oct 4, 2025

  1. libpq: Make SSL errorhandling in backend threadsafe

    In order to make the errorhandling code in backend libpq be thread-
    safe the global variable used by the certificate verification call-
    back need to be replaced with passing private data, and the call to
    strerror need to be replaced with strerror_r which use an allocated
    buffer passed back instead of the static buffer.
    
      * The callback use a new member in the Port struct for passing
        the error detail string, and the Port struct is in turn passed
        as private data in the SSL object
      * The strerror call is replaced with a strerror_r and the static
        errbuf buffer is palloced with the caller being responsible for
        cleanup.
    
    Author: Daniel Gustafsson <[email protected]>
    Reviewed-by: Peter Eisentraut <[email protected]>
    Discussion: https://postgr.es/m/[email protected]
    
    fixup
    danielgustafsson authored and Commitfest Bot committed Oct 4, 2025
    Configuration menu
    Copy the full SHA
    5106f33 View commit details
    Browse the repository at this point in the history
  2. [CF 5868] v2 - Making libpq OpenSSL support threadsafe

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5868
    
    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): Daniel Gustafsson
    Commitfest Bot committed Oct 4, 2025
    Configuration menu
    Copy the full SHA
    9664c7a View commit details
    Browse the repository at this point in the history
Loading