-
Notifications
You must be signed in to change notification settings - Fork 914
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
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.6
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: lib/pq
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.10.9
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 12 commits
- 11 files changed
- 8 contributors
Commits on May 25, 2022
-
Use pointer receiver on pq.Error.Error()
The library returns *pq.Error and not pq.Error. By using a value receiver, the library was documenting that consumers should expect returned error values to contain pq.Error. While *pq.Error implements all methods on pq.Error, *pq.Error is not assignable to pq.Error and so you can't type assert an error value into pq.Error if it actually contains *pq.Error. In particular, this is a problem with errors.As. The following if condition will always return false. var pqe pq.Error if errors.As(err, &pqe) { // Never reached as *pq.Error is not assignable to pqe. ... }
Configuration menu - View commit details
-
Copy full SHA for 89fee89 - Browse repository at this point
Copy the full SHA 89fee89View commit details
Commits on Aug 30, 2022
-
This allows an SNI-aware proxy to route connections. Patch adds a new connection option (`sslsni`) for opting out of the SNI, to have the same behavior as `libpq` does. See more in `sslsni` sections at <https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS>.
Configuration menu - View commit details
-
Copy full SHA for 957fc0b - Browse repository at this point
Copy the full SHA 957fc0bView commit details
Commits on Sep 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d65e6ae - Browse repository at this point
Copy the full SHA d65e6aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5affd5 - Browse repository at this point
Copy the full SHA d5affd5View commit details
Commits on Jan 24, 2023
-
Improved the performance of CopyIn and CopyInSchema and added BufferQ…
…uoteIdentifier (#1100)
Configuration menu - View commit details
-
Copy full SHA for 133ac67 - Browse repository at this point
Copy the full SHA 133ac67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a6282f - Browse repository at this point
Copy the full SHA 3a6282fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2a3173 - Browse repository at this point
Copy the full SHA a2a3173View commit details -
Configuration menu - View commit details
-
Copy full SHA for 922c00e - Browse repository at this point
Copy the full SHA 922c00eView commit details
Commits on Apr 14, 2023
-
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.
Configuration menu - View commit details
-
Copy full SHA for 96e73eb - Browse repository at this point
Copy the full SHA 96e73ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for c10fcfe - Browse repository at this point
Copy the full SHA c10fcfeView commit details
Commits on Apr 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d8d93a3 - Browse repository at this point
Copy the full SHA d8d93a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a217b9 - Browse repository at this point
Copy the full SHA 2a217b9View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.10.6...v1.10.9