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: lib/pq
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.12.0
Choose a base ref
...
head repository: lib/pq
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.12.1
Choose a head ref
  • 5 commits
  • 9 files changed
  • 2 contributors

Commits on Mar 30, 2026

  1. Use correct location for default ~/.pgpass location

    Broke with 5e55bb7.
    
    Fixes #1294
    Closes #1295
    arp242 committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    ce3c881 View commit details
    Browse the repository at this point in the history
  2. Don't clear password if directly set on pq.Config

    cfg.isset() depends on the logic in newConfig(), so if that was set
    outside of PGPASSWORD or password= it would never be set.
    
    PostgreSQL does not accept empty passwords:
    
    	(0)=# alter user pqgopassword with password '';
    	NOTICE:  empty string is not a valid password, clearing password
    	Time: 10.785 ms
    
    So okay to just test for != ""
    
    Also do the same for krbspn and krbsrvname.
    
    Fixes #1301
    arp242 committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    e0a292e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7f79f1b View commit details
    Browse the repository at this point in the history
  4. Fix fromDSN() doc comment

    skewb1k authored and arp242 committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    5a64c11 View commit details
    Browse the repository at this point in the history
  5. Release v1.12.1

    arp242 committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    1464d69 View commit details
    Browse the repository at this point in the history
Loading