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/5585~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/5585
Choose a head ref
  • 1 commit
  • 4 files changed
  • 2 contributors

Commits on Jul 13, 2025

  1. libpq: Add "servicefile" connection option

    This commit adds the possibility to specify a service file in a
    connection string, using a new option called "servicefile".  The parsing
    of the service file happens so as things are done in this order of
    priority:
    - The servicefile connection option.
    - Environment variable PGSERVICEFILE.
    - Default path, depending on the HOME environment.
    
    Note that in the last default case, we need to fill in "servicefile" for
    the connection's PQconninfoOption to let clients know which service file
    has been used for the connection.  Some TAP tests are added, with a few
    tweaks required for Windows when using URIs or connection option values,
    for the location paths.
    
    Author: Torsten Förtsch <[email protected]>
    Co-authored-by: Ryo Kanbayashi <[email protected]>
    Discussion: https://postgr.es/m/CAKkG4_nCjx3a_F3gyXHSPWxD8Sd8URaM89wey7fG_9g7KBkOCQ@mail.gmail.com
    michaelpq and Ryo Kanbayashi committed Jul 13, 2025
    Configuration menu
    Copy the full SHA
    092f3c6 View commit details
    Browse the repository at this point in the history
Loading