Commit Graph

2542 Commits

Author SHA1 Message Date
Steven Fackler
245ccb7bab Release postgres-types v0.1.0 2019-12-23 15:31:41 -08:00
Steven Fackler
ca80f647e8 Release postgres-derive v0.4.0 2019-12-23 15:27:41 -08:00
Steven Fackler
1c5ceebe8a Release postgres-protocol v0.5.0 2019-12-23 15:23:25 -08:00
Steven Fackler
9e10d782b5
Merge pull request #526 from sfackler/dependabot/cargo/base64-0.11
Update base64 requirement from 0.10 to 0.11
2019-12-23 18:10:07 -05:00
Steven Fackler
ee58a1cac7
Merge pull request #527 from sfackler/dependabot/cargo/md5-0.7
Update md5 requirement from 0.6 to 0.7
2019-12-23 18:09:59 -05:00
dependabot-preview[bot]
9b443da418
Update md5 requirement from 0.6 to 0.7
Updates the requirements on [md5](https://github.com/stainless-steel/md5) to permit the latest version.
- [Release notes](https://github.com/stainless-steel/md5/releases)
- [Commits](https://github.com/stainless-steel/md5/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 22:59:56 +00:00
dependabot-preview[bot]
188e5eb656
Update base64 requirement from 0.10 to 0.11
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.10.0...v0.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 22:59:25 +00:00
Steven Fackler
2615441c7d Doc cleanup and "real" extensible enums 2019-12-21 18:14:28 -08:00
Steven Fackler
869f2d7e47 Remove stray dev dependency 2019-12-21 04:21:14 -08:00
Colin Maxfield
e8aef6579e Fixing fmt on the files I changed, forgot to check prior to previous commit 2019-12-20 23:28:32 -05:00
Colin Maxfield
3592e0553e Adding in generic connection trait back to the lib 2019-12-20 20:35:17 -05:00
Steven Fackler
37d0a83434 remove uuid 0.7 support 2019-12-19 16:41:26 -08:00
Steven Fackler
8ee231f803 Add remaining log statements 2019-12-17 18:11:40 -08:00
Steven Fackler
0e41aea531
Merge pull request #524 from bikeshedder/features/fix-issue-492
Add back logging of queries
2019-12-16 10:42:07 -05:00
Michael P. Jung
d9a999a578 Add back logging of queries
This fixes #492
2019-12-16 14:36:23 +01:00
Steven Fackler
309b647bdb Publicly reexport fallible-iterator from postgres
Closes #520
2019-12-15 17:49:50 -08:00
Steven Fackler
3c85532a76 Fix docs 2019-12-15 17:34:11 -08:00
Steven Fackler
584aca4c17 rustfmt 2019-12-15 17:11:39 -08:00
Steven Fackler
a254e6e9e9 Blocking binary copy support 2019-12-15 17:01:53 -08:00
Steven Fackler
cc8d8fe734 Unify no-op drop impls 2019-12-15 15:58:50 -08:00
Steven Fackler
4a5a277878 query_opt test 2019-12-10 16:34:04 -08:00
Steven Fackler
bf8b335d2b Move binary copy stuff directly into main crate 2019-12-08 18:30:47 -08:00
Steven Fackler
0c84ed9f82 rustfmt 2019-12-04 18:59:22 -08:00
Steven Fackler
5c33bf8b30 Don't take parameters in copy_in and copy_out
Postgres doesn't support them, so we may as well not provide the option!

Closes #523
2019-12-04 18:51:59 -08:00
Steven Fackler
ac4c63f4af Upgrade test postgres to 12.1 2019-12-04 16:52:20 -08:00
Steven Fackler
ed8fb9e8e7 Update docker image to Postgres 12.1 2019-12-04 16:51:55 -08:00
Steven Fackler
9950ff4213 rustfmt 2019-12-03 18:29:06 -08:00
Steven Fackler
09a63d6255 Move to local runtimes per connection
This avoids a bunch of context switches and cross-thread
synchronization, which ends up improving the performance of a simple
query by ~20%, from 252us to 216us.
2019-12-03 18:25:29 -08:00
Steven Fackler
d6163c088f Switch off nightly in CI 2019-12-03 15:26:52 -08:00
Steven Fackler
b425a28b2f Reenable clippy and rustfmt in CI 2019-12-03 15:26:24 -08:00
Steven Fackler
582f075f4c
Merge pull request #515 from bikeshedder/feature/hashable-type
Add Hash implementation to Type
2019-12-03 14:08:26 -05:00
Michael P. Jung
edd9a5aa7f Add Hash implementation to Type 2019-12-03 20:01:43 +01:00
Steven Fackler
a22f63b5bb Fix sqlstate generation 2019-12-02 17:55:08 -08:00
Steven Fackler
b4694471ad Add query_opt
Closes #510
2019-11-30 18:18:50 -05:00
Steven Fackler
299ef6c8dd Rename CopyStream to CopyOutStream 2019-11-30 16:17:23 -05:00
Steven Fackler
ff3ea1c9df Expose RowIter 2019-11-30 12:13:38 -05:00
Steven Fackler
1390cc57d7 doc fix 2019-11-30 12:01:09 -05:00
Steven Fackler
ef0b79fbcb docs fix 2019-11-30 11:45:33 -05:00
Steven Fackler
e5e03b0064 Change the copy_in interface
Rather than taking in a Stream and advancing it internally, return a
Sink that can be advanced by the calling code. This significantly
simplifies encoding logic for things like tokio-postgres-binary-copy.

Similarly, the blocking interface returns a Writer.

Closes #489
2019-11-30 11:04:59 -05:00
Steven Fackler
a5428e6a03 wip sync copy-in 2019-11-29 10:15:46 -05:00
Steven Fackler
7c29346cd4 Release postgres-openssl v0.3.0-alpha.2 2019-11-27 21:07:51 -05:00
Steven Fackler
dc2416011a Release postgres-native-tls v0.3.0-alpha.2 2019-11-27 21:04:44 -05:00
Steven Fackler
fa3b068da7 Release postgres v0.17.0-alpha.2 2019-11-27 21:01:24 -05:00
Steven Fackler
223514fcd5 Fix custom spawn interface in sync API 2019-11-27 20:58:02 -05:00
Steven Fackler
47d97f0d2e Relase tokio-postgres v0.5.0-alpha.2 2019-11-27 20:48:01 -05:00
Steven Fackler
eff68d547f Upgrade parking-lot 2019-11-27 20:42:31 -05:00
Steven Fackler
de2b78dcef Release postgres-types v0.1.0-alpha.2 2019-11-27 20:38:32 -05:00
Steven Fackler
2d083ec1c8 Release postgres-protocol v0.5.0-alpha.2 2019-11-27 20:32:13 -05:00
Steven Fackler
4a51a7e00a Fix serde-json 2019-11-26 16:43:10 -08:00
Steven Fackler
7eb61c786b Fix up benchmark 2019-11-26 16:40:36 -08:00