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.10.7
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.10.9
Choose a head ref
  • 8 commits
  • 8 files changed
  • 5 contributors

Commits on Jan 24, 2023

  1. Configuration menu
    Copy the full SHA
    133ac67 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a6282f View commit details
    Browse the repository at this point in the history
  3. Update test.yml

    otan authored Jan 24, 2023
    Configuration menu
    Copy the full SHA
    a2a3173 View commit details
    Browse the repository at this point in the history
  4. Update codeql-analysis.yml

    otan authored Jan 24, 2023
    Configuration menu
    Copy the full SHA
    922c00e View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2023

  1. conn: Implement driver.Validator, SessionResetter for cancelation

    Commit 8446d16 released in 1.10.4 changed how some cancelled query
    errors were returned. This has caused a lib/pq application I work on
    to start returning "driver: bad connection". This is because we were
    cancelling a query, after looking at some of the rows. This causes a
    "bad" connection to be returned to the connection pool.
    
    To prevent this, implement the driver.Validator and
    driver.SessionResetter interfaces. The database/sql/driver package
    recommends implementing them:
    
    "All Conn implementations should implement the following interfaces:
    Pinger, SessionResetter, and Validator"
    
    Add two tests for this behaviour. One of these tests passed with
    1.10.3 but fails with newer versions. The other never passed, but
    does after this change.
    evanj authored and rafiss committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    96e73eb View commit details
    Browse the repository at this point in the history
  2. remove stray debugging code

    evanj authored and rafiss committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    c10fcfe View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. fix handle pgpass (#1120)

    acoshift authored Apr 26, 2023
    Configuration menu
    Copy the full SHA
    d8d93a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a217b9 View commit details
    Browse the repository at this point in the history
Loading