Steven Fackler
33703689e0
Clean up licenses
2021-10-28 19:22:13 -04:00
Laurențiu Nicola
34d8b77644
Add feature gates for doctests
2021-09-25 20:04:41 +03:00
Petros Angelatos
ca6d4b8162
tokio-postgres: buffer sockets to avoid excessive syscalls
...
The current implementation forwards all read requests to the operating
system through the socket causing excessive system calls. The effect is
magnified when the underlying Socket is wrapped around a TLS
implementation.
This commit changes the underlying socket to be read-buffered by default
with a buffer size of 16K, following the implementation of the official
client.
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2021-05-24 17:58:30 +02:00
Steven Fackler
6e9ee0fa84
Release postgres-openssl v0.5.0
2020-12-25 09:20:58 -05:00
Steven Fackler
de831c3a53
Release postgres v0.19.0
2020-12-25 09:14:39 -05:00
Steven Fackler
4fb6fd906f
Release tokio-postgres v0.7.0
2020-12-25 09:09:17 -05:00
Nikhil Benesch
f1729e4636
deps: upgrade to tokio v1.0 ecosystem
2020-12-24 18:38:05 -05:00
Steven Fackler
ec1c4a5c65
Release postgres-openssl v0.4.0
2020-10-17 15:20:32 -04:00
Steven Fackler
cc77ad18d5
Release postgres v0.18.0
2020-10-17 15:16:56 -04:00
Steven Fackler
12e2f03b53
Release tokio-postgres v0.6.0
2020-10-17 15:06:10 -04:00
Steven Fackler
2689070d19
Upgrade to tokio 0.3
2020-10-17 09:49:45 -04:00
Steven Fackler
f3cf1de93e
Release postgres-openssl v0.3.0
2019-12-23 15:57:28 -08:00
Steven Fackler
69412cf7e3
Released postgres v0.17.0
2019-12-23 15:52:16 -08:00
Steven Fackler
1f773f08e3
Release tokio-postgres v0.5.0
2019-12-23 15:40:49 -08:00
Steven Fackler
b4694471ad
Add query_opt
...
Closes #510
2019-11-30 18:18:50 -05:00
Steven Fackler
7c29346cd4
Release postgres-openssl v0.3.0-alpha.2
2019-11-27 21:07:51 -05:00
Steven Fackler
fa3b068da7
Release postgres v0.17.0-alpha.2
2019-11-27 21:01:24 -05:00
Steven Fackler
47d97f0d2e
Relase tokio-postgres v0.5.0-alpha.2
2019-11-27 20:48:01 -05:00
Steven Fackler
12c2ef79b6
Upgrade to tokio 0.2/futures 0.3
2019-11-26 16:32:36 -08:00
Steven Fackler
dc9d07e246
Return a custom TlsStream rather than a ChannelBinding up front
2019-10-27 14:25:58 -07:00
Steven Fackler
2a8f7bdd96
Release postgres v0.17.0-alpha.1
2019-10-14 18:25:29 -07:00
Steven Fackler
7f7ef7560a
Release postgres-openssl v0.3.0-alpha.1
2019-10-14 18:20:28 -07:00
Steven Fackler
afa466fb25
Release tokio-postgres v0.5.0-alpha.1
2019-10-14 18:14:11 -07:00
Steven Fackler
c7055dc665
Clippy fixes
2019-10-09 15:20:23 -07:00
Steven Fackler
b8577b45b1
Overhaul query_portal
2019-10-08 17:22:56 -07:00
Steven Fackler
2517100132
Overhaul query
...
This is the template that we'll use for all other methods taking
parameters. The `foo_raw` variant is the most flexible (but annoying to
use), while `foo` covers the expected common case.
2019-10-08 17:15:41 -07:00
Steven Fackler
1473c09b83
Fix warnings
2019-10-08 16:45:48 -07:00
Steven Fackler
0d2d554122
Add a ToStatement trait in tokio-postgres
2019-10-08 19:36:24 -04:00
Steven Fackler
30bd89c524
Upgrade tokio and futures-preview
2019-09-30 18:26:23 -07:00
Steven Fackler
6c3a4ab192
Add channel_binding=disable/prefer/require to config
...
Closes #487
2019-09-24 17:03:37 -07:00
Steven Fackler
1fa4838717
Upgrade to tokio alpha.5
2019-09-19 14:48:34 -07:00
Steven Fackler
2a2b76d1b8
Upgrade to tokio alpha.4
2019-08-29 18:10:58 -07:00
Steven Fackler
c026644820
async_await is stable on nightly now
2019-08-21 07:48:36 -04:00
Steven Fackler
aa44090fad
Update futures-preview/tokio
2019-08-18 09:02:21 -04:00
Steven Fackler
1b5d65d462
Use a released tokio-openssl
2019-08-12 09:22:32 -07:00
Steven Fackler
92e3d013eb
Update to released tokio
2019-08-10 20:25:12 -07:00
Steven Fackler
ad31290f5f
Update postgres-openssl
2019-08-02 20:49:31 -07:00
Steven Fackler
6464954e07
Release postgres-openssl v0.2.0-rc.1
2019-06-29 21:39:25 -07:00
Steven Fackler
e760d82f64
Drop tokio- prefix from TLS crates
...
They're way too wordy and used with both tokio-postgres and postgres
anyway.
2019-06-29 16:07:56 -07:00
Steven Fackler
14571ab029
Remove synchronous crate
...
It will be coming back! It's just going to involve a full rewrite and
removing it for now makes some of that restructuring easier.
2018-12-08 16:11:03 -08:00
Steven Fackler
a2cac0ef61
Remove tls-unique from blocking postgres crate
2018-11-28 20:42:53 -08:00
Steven Fackler
705ef7d5b2
Implement tls-unique for postgres-openssl
...
While it's a bit sketchier than tls-server-end-point, it is supported on
the backend with all OpenSSL versions.
2018-06-26 21:07:47 -07:00
Steven Fackler
11ffcac087
Support SCRAM channel binding for Postgres 11
2018-06-01 23:07:33 -07:00
Steven Fackler
c70a03f9e6
Split out TLS implementations
...
This provides a lot more flexibility around version support, and unlike
the ToSql/FromSql implementations, these don't actually need to be in
postgres itself.
2018-05-28 10:42:21 -07:00