-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync to latest rust-postgres and move changes to a single patch #16
base: master
Are you sure you want to change the base?
Commits on Jun 4, 2024
-
Work with pools that don't support prepared statements
Introduce a new `query_with_param_types` method that allows to specify Postgres type parameters. This obviated the need to use prepared statementsjust to obtain parameter types for a query. It then combines parse, bind, and execute in a single packet. Related: sfackler#1017, sfackler#1067
Configuration menu - View commit details
-
Copy full SHA for f397668 - Browse repository at this point
Copy the full SHA f397668View commit details
Commits on Jul 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3f8f5de - Browse repository at this point
Copy the full SHA 3f8f5deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74eb4db - Browse repository at this point
Copy the full SHA 74eb4dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f00ed42 - Browse repository at this point
Copy the full SHA f00ed42View commit details
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dbd4d02 - Browse repository at this point
Copy the full SHA dbd4d02View commit details
Commits on Jul 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0fa3247 - Browse repository at this point
Copy the full SHA 0fa3247View commit details
Commits on Jul 13, 2024
-
Merge pull request sfackler#1147 from exograph/exograph
Work with pools that don't support prepared statements
Configuration menu - View commit details
-
Copy full SHA for 257bcfd - Browse repository at this point
Copy the full SHA 257bcfdView commit details
Commits on Jul 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 71c836b - Browse repository at this point
Copy the full SHA 71c836bView commit details -
Merge pull request sfackler#1160 from sfackler/query-typed-cleanup
query_typed tweaks
Configuration menu - View commit details
-
Copy full SHA for a1bdd0b - Browse repository at this point
Copy the full SHA a1bdd0bView commit details
Commits on Jul 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a0b2d70 - Browse repository at this point
Copy the full SHA a0b2d70View commit details -
Merge pull request sfackler#1162 from sfackler/transaction-builder-ca…
…ncellation Fix cancellation of TransactionBuilder::start
Configuration menu - View commit details
-
Copy full SHA for 4b9cdca - Browse repository at this point
Copy the full SHA 4b9cdcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c358077 - Browse repository at this point
Copy the full SHA c358077View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b4566b - Browse repository at this point
Copy the full SHA 6b4566bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9226618 - Browse repository at this point
Copy the full SHA 9226618View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f196e7 - Browse repository at this point
Copy the full SHA 9f196e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6de0fce - Browse repository at this point
Copy the full SHA 6de0fceView commit details -
For
query_typed
, deal with the no-data case.If a query returns no data, we receive `Message::NoData`, which signals the completion of the query. However, we treated it as a no-op, leading to processing other messages and eventual failure. This PR fixes the issue and updates the `query_typed` tests to cover this scenario.
Configuration menu - View commit details
-
Copy full SHA for 0fc4005 - Browse repository at this point
Copy the full SHA 0fc4005View commit details
Commits on Jul 23, 2024
-
Merge pull request sfackler#1165 from exograph/query-typed-no-data
For `query_typed`, deal with the no-data case.
Configuration menu - View commit details
-
Copy full SHA for 3afcc3d - Browse repository at this point
Copy the full SHA 3afcc3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa10f0d - Browse repository at this point
Copy the full SHA aa10f0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for df2f37d - Browse repository at this point
Copy the full SHA df2f37dView commit details -
The impl now directly computes `Timestamp` rather than going through `DateTime` and `Zoned`.
Configuration menu - View commit details
-
Copy full SHA for f00d208 - Browse repository at this point
Copy the full SHA f00d208View commit details -
`Timestamp` already has impl and is semantically accurate for mapping to `timestamptz`, unlike `Zoned`. End users can do their own conversions from `Timestamp` to `Zoned` if desired.
Configuration menu - View commit details
-
Copy full SHA for 815a5d3 - Browse repository at this point
Copy the full SHA 815a5d3View commit details
Commits on Jul 24, 2024
-
Merge pull request sfackler#1166 from ecnelises/aix
Support AIX keepalive
Configuration menu - View commit details
-
Copy full SHA for d2634a4 - Browse repository at this point
Copy the full SHA d2634a4View commit details
Commits on Aug 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e19b3dc - Browse repository at this point
Copy the full SHA e19b3dcView commit details -
This sets the smallest unit to microseconds when calculating time deltas. Previously, the number of microseconds was expressed improperly because the rounding was not set.
Configuration menu - View commit details
-
Copy full SHA for c96342d - Browse repository at this point
Copy the full SHA c96342dView commit details
Commits on Aug 15, 2024
-
Add jiff tests and overflow checks
This adds tests in the same fashion as the existing ones for `chrono` and `time`. Overflow is now handled using fallible operations. For example, `Span:microseconds` is replaced with `Span::try_microseconds`. Postgres infinity values are workiing as expected. All tests are passing.
Configuration menu - View commit details
-
Copy full SHA for afef88e - Browse repository at this point
Copy the full SHA afef88eView commit details -
The implementation was previously removed as per jiff author comment.
Configuration menu - View commit details
-
Copy full SHA for bc9102c - Browse repository at this point
Copy the full SHA bc9102cView commit details -
Fix
chrono::DateTime<Utc>
tests`test_date_time_params` and `test_with_special_date_time_params` could fail when run with a non-UTC system time zone. In Postgres, if no time zone is stated in the input string, then it is assumed to be in system time. This means that in these tests, a correctly parsed `DateTime<Utc>` could be compared to an incorrectly offset time. The offset component is now included in the test strings of these tests. This component is already present in the test strings for `time::OffsetDateTime`.
Configuration menu - View commit details
-
Copy full SHA for 5b26b5d - Browse repository at this point
Copy the full SHA 5b26b5dView commit details
Commits on Aug 16, 2024
-
Merge pull request sfackler#1170 from allan2/chrono-test
Fix `chrono::DateTime<Utc>` tests
Configuration menu - View commit details
-
Copy full SHA for 2e6b7df - Browse repository at this point
Copy the full SHA 2e6b7dfView commit details
Commits on Aug 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6fd0444 - Browse repository at this point
Copy the full SHA 6fd0444View commit details
Commits on Sep 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b1ace91 - Browse repository at this point
Copy the full SHA b1ace91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 776ea30 - Browse repository at this point
Copy the full SHA 776ea30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d08adb - Browse repository at this point
Copy the full SHA 8d08adbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ae17e0 - Browse repository at this point
Copy the full SHA 6ae17e0View commit details
Commits on Sep 26, 2024
-
Custom patches for readyset tree
This patch is based on tag readyset-20240301. Previously, we maintained this repo as a fork and merged with upstream occasionally. Now we sync to upstream, discard some now unnecessary changes, and dump all of our custom changes into a single commit so it may be more easily rebased for as long as this fork may live.
Configuration menu - View commit details
-
Copy full SHA for ab6d675 - Browse repository at this point
Copy the full SHA ab6d675View commit details