Steven Fackler
598fc0f1a8
Merge pull request #618 from sfackler/update-mac
...
Update hmac and sha2
2020-06-10 20:03:02 -04:00
Steven Fackler
c845a3683e
rustfmt
2020-06-10 16:56:22 -07:00
Steven Fackler
3e67dbb773
Fix clippy
2020-06-10 16:54:07 -07:00
Steven Fackler
a12efc41d7
rustfmt
2020-06-10 16:46:55 -07:00
Steven Fackler
58a7856646
Update hmac and sha2
2020-06-10 16:45:58 -07:00
Steven Fackler
2b59b7e63c
fix clippy
2020-05-25 05:54:19 -07:00
Steven Fackler
e7661fd71f
Fix geo-types tests
2020-05-25 05:48:40 -07:00
Steven Fackler
98f2694ae4
Merge pull request #605 from jakubadamw/geo-types-0_5
...
Add support for geo-types=0.5
2020-05-25 08:33:57 -04:00
Jakub Wieczorek
887be86816
Add support for geo-types=0.5
...
Support for geo-types=0.4 (via the `with-geo-types_04` feature) has been preserved for convenience.
2020-05-25 13:45:17 +02:00
Steven Fackler
9fe4eee36f
Merge pull request #603 from naim94a/patch-1
...
fix typo
2020-05-12 07:03:31 -04:00
Naim A
a1efddd64a
fix typo
2020-05-12 13:48:01 +03:00
Steven Fackler
f9ba58967b
Release postgres v0.17.3
2020-05-01 16:15:31 -07:00
Steven Fackler
66f5a8bbc5
Release tokio-postgres v0.5.4
2020-05-01 16:10:41 -07:00
Steven Fackler
c6a6686ba7
Merge pull request #600 from nvanbenschoten/nvanbenschoten/savepoints-2-the-revival-album
...
Re-add savepoint method to Transaction
2020-05-01 19:03:24 -04:00
Nathan VanBenschoten
64d6e97eff
Re-add savepoint method to Transaction
...
Revives #184 .
The rewrite for async/await and Tokio accidentally lost functionality
that allowed users to assign specific names to savepoints when using
nested transactions. This functionality had originally been added
in #184 and had been updated in #374 .
This commit revives this functionality using a similar scheme to the
one that existed before. This should allow CockroachDB users to update
to the next patch release of version `0.17`.
2020-05-01 12:55:48 -04:00
Steven Fackler
e3d3c6d5cd
Merge pull request #590 from benesch/copy-out-short-reads
...
Don't accidentally return early from CopyOutReader
2020-04-01 14:25:10 -04:00
Nikhil Benesch
dd0c39e041
Don't accidentally return early from CopyOutReader
...
The COPY OUT protocol allows sending CopyData packets that have no data.
The (synchronous) CopyOutReader needs to be careful not to return an
empty slice in this case, but instead request more data, since an empty
slice is taken to mean EOF.
2020-04-01 14:17:02 -04:00
Steven Fackler
70ca1b4fa0
Merge pull request #588 from sfackler/notifications
...
Add a notification API to the blocking client
2020-03-23 07:29:32 -04:00
Steven Fackler
2e0ad717f9
Bump CI for rustfmt change
2020-03-22 15:25:08 -07:00
Steven Fackler
3c4a0af6ff
Add a notification API to the blocking client
...
This mirrors the implementation in the old 0.15 release, but is quite a
bit simpler now that we're built on the nonblocking API!
2020-03-22 15:22:07 -07:00
Steven Fackler
fd3a99c225
Don't spawn off connection in blocking impl
...
We can now directly return fatal errors, and intercept notifications
2020-03-22 12:05:00 -07:00
Steven Fackler
928a7169d4
Merge pull request #584 from bikeshedder/feature/feature-doc
...
Add documentation for crate features
2020-03-18 17:08:40 -04:00
Steven Fackler
e25987656e
Release postgres-protocol v0.5.1
2020-03-17 15:36:22 -07:00
Michael P. Jung
b10f964a1b
Add documentation for crate features
...
This closes #544
2020-03-16 15:10:25 +01:00
Steven Fackler
7bc025d2d4
Merge pull request #582 from sfackler/dependabot/cargo/base64-0.12
...
Update base64 requirement from 0.11 to 0.12
2020-03-09 09:44:31 -04:00
dependabot-preview[bot]
0fb9ede350
Update base64 requirement from 0.11 to 0.12
...
Updates the requirements on [base64](https://github.com/marshallpierce/rust-base64 ) to permit the latest version.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases )
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.11.0...v0.12.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 13:24:28 +00:00
Steven Fackler
ff36ce993d
Release postgres v0.17.2
2020-03-05 17:13:32 -08:00
Steven Fackler
72e0dbfcc0
Release tokio-postgres v0.5.3
2020-03-05 17:11:46 -08:00
Steven Fackler
d8470a75a5
Release postgres-types v0.1.1
2020-03-05 16:00:49 -08:00
Steven Fackler
e51028385b
Log notices in Connection::poll impl
2020-03-05 15:51:08 -08:00
Steven Fackler
9f6d03d38b
Update tokio-util
2020-03-05 05:31:43 -08:00
Steven Fackler
45b80e86a2
Merge pull request #580 from aloucks/time
...
Add support for time-0.2 types
2020-03-02 20:34:10 -05:00
Aaron Loucks
6d8c403a8d
OffsetDateTime now only supports TIMESTAMPZ
2020-02-28 19:52:20 -05:00
Aaron Loucks
f33b145cd6
Remove fractional seconds from time_02 tests
2020-02-28 19:30:05 -05:00
Aaron Loucks
25db147e87
Port chrono tests to time tests
2020-02-28 19:03:59 -05:00
Aaron Loucks
2082d4f781
Add support for time-0.2 types
2020-02-28 18:05:51 -05:00
Steven Fackler
89ea051d5a
Merge pull request #538 from derekdreery/add_debug_impls
...
Add Debug impls.
2020-02-17 20:24:26 -05:00
Richard Dodd
6fd69dfd47
Make requested changes
2020-02-17 17:10:51 +00:00
Richard Dodd
369427b381
Allow clippy lint in macro output.
2020-02-17 17:10:51 +00:00
Richard Dodd
51dac3c862
Add Debug impls.
...
This commit makes the following changes
- Add an opaque `Debug` impl for `Client`.
- Add a rich `Debug` impl for `Row`.
- Make the `Debug` impl for `Type` clearer.
- Change the `Debug` for `Column` to be slightly neater.
2020-02-17 17:10:51 +00:00
Steven Fackler
4c0ee2c715
Example cleanup
2020-02-09 09:58:18 -08:00
Steven Fackler
14252af4c3
Merge pull request #568 from runfalk/master
...
Added information on how to use Vec<T> with Client::query_raw
2020-02-09 17:13:42 +00:00
Andreas Runfalk
778f278059
Added information on how to use Vec<T> with Client::query_raw ( fixes #567 )
2020-02-06 07:49:59 +01:00
Steven Fackler
cc9b8232a8
Release postgres v0.17.1
2020-01-31 18:04:59 -08:00
Steven Fackler
d88bccc27c
Release tokio-postgres v0.5.2
2020-01-31 18:00:05 -08:00
Steven Fackler
2ce4f08f46
Merge pull request #564 from benesch/startup-notices
...
Don't suppress notices during startup flow
2020-01-31 18:24:09 -05:00
Steven Fackler
4bf40cd1d3
Reorder methods
2020-01-31 14:01:16 -08:00
Steven Fackler
27635a20ca
Clean up GenericClient traits
2020-01-31 13:59:37 -08:00
Nikhil Benesch
7ea1b2d785
Don't suppress notices during startup flow
...
NoticeResponses received during the startup flow were previously being
dropped on the floor. Instead stash them away so they can be delivered
to the user after the startup flow is complete.
2020-01-31 00:37:01 -05:00
Steven Fackler
5429a79997
Merge pull request #561 from dvic/add-methods-generic-client
...
Add missing methods to GenericClient
2020-01-27 10:40:01 -05:00