Steven Fackler
bf8b335d2b
Move binary copy stuff directly into main crate
2019-12-08 18:30:47 -08:00
Steven Fackler
8ebe859183
Start on binary copy rewrite
2019-11-17 18:28:12 -08:00
Steven Fackler
218d889042
Move postgres-derive in-tree
2019-10-09 19:23:12 -07:00
Steven Fackler
4b5bcbb602
Split ToSql/FromSql out to a separate crate
...
Prep for a `derive` feature.
2019-10-07 17:14:18 -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
2d2a5dea81
Send response messages in blocks
...
Our codec implementation originally just parsed single messages out of
the stream buffer. However, if a query returns a bunch of rows, we're
spending a ton of time shipping those individual messages from the
connection back to the Query stream. Instead, collect blocks of unparsed
messages that are as large as possible and send those back.
This cuts the processing time of the following query in half, from ~10
seconds to ~5:
`SELECT s.n, 'name' || s.n FROM generate_series(0, 9999999) AS s(n)`
At this point, almost all of the remainder of the time is spent parsing
the rows.
cc #450
2019-06-27 21:47:13 -07:00
Steven Fackler
759256010d
Initial sync crate sketch
2018-12-21 13:34:09 -08:00
Steven Fackler
4d16fbb906
Get rid of postgres-shared
2018-12-08 17:39:20 -08: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
255c758d41
Add tokio-postgres-native-tls
2018-10-14 17:44:46 -07:00
Steven Fackler
4eecb59bf4
Used released tokio-uds
2018-08-19 22:07:01 -07:00
Steven Fackler
9609055edf
Also patch tokio
...
Not sure how tests previously compiled?
2018-08-18 13:06:19 -07:00
Steven Fackler
daeb5389ed
log typo
2018-08-10 11:35:14 -07:00
Steven Fackler
369f6e027f
tokio-postgres-openssl
2018-06-26 21:00:26 -07:00
Steven Fackler
13fcea7ae2
Working statement preparation
2018-06-18 22:34:25 -04:00
Steven Fackler
8c3770bd57
Start on tokio-postgres rewrite
2018-06-16 21:29:27 -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
Steven Fackler
6df3842274
Move postgres-protocol in-tree
2017-03-12 13:46:01 -07:00
Steven Fackler
5004efb792
Rename crate
2016-12-26 16:41:09 -05:00
Steven Fackler
492d5d0c27
Add postgres-tokio
2016-12-20 15:42:28 -08:00
Steven Fackler
92ef98ddcd
Add a postgres-shared crate
2016-12-20 15:33:16 -08:00
Steven Fackler
8dc4fbc1d5
Move to a nested configuration
2016-12-20 15:20:00 -08:00
Steven Fackler
1006b50295
Release v0.13.4
2016-12-19 12:45:45 -08:00
Steven Fackler
9d53e677ff
Update to protocol 0.2
2016-12-18 16:13:12 -08:00
Steven Fackler
8e5f28eb70
Release v0.13.3
2016-11-30 09:10:48 -08:00
Steven Fackler
b1faa18a1e
Add an SChannel TlsStream implementation
...
Closes #214
2016-11-26 22:43:41 -08:00
Steven Fackler
2e5e99f410
Upgrade phf
2016-11-26 22:05:44 -08:00
Steven Fackler
1e24f48b10
Release v0.13.2
2016-11-26 21:11:58 -08:00
Steven Fackler
9c1068253f
Release v0.13.1
2016-11-12 19:04:35 +00:00
Steven Fackler
667b7304eb
Add native-tls support
2016-11-09 21:25:08 +00:00
Steven Fackler
d99843ba91
Allow logging to be disabled
...
This is a somewhat nontraditioonal use of features, but I don't want to
make logging opt in.
Closes #215
2016-11-08 21:51:24 +00:00
Steven Fackler
88aff10e62
Release v0.13.0
2016-11-05 22:25:24 -07:00
Steven Fackler
fdb16ca9ca
Update to phf 0.7.19
2016-11-05 21:02:40 -07:00
Steven Fackler
fe0e1ad5a2
Update to openssl 0.9
2016-11-05 21:01:26 -07:00
TyanNN
ae11905c2b
Update phf version
2016-11-01 15:48:03 +03:00
Steven Fackler
333b62a8c2
Upgrade phf
2016-10-10 22:21:28 -07:00
Steven Fackler
07f3dc03b1
Release v0.12.0
2016-10-09 22:06:12 -07:00
Steven Fackler
599e5dbc69
Drop byteorder dependency
...
We're only using it for read_u8 which is a bit silly
2016-09-24 20:06:49 -07:00
Steven Fackler
a6e60b23b1
Use published versions of crates
2016-09-21 21:41:42 -07:00
Steven Fackler
f5ec24de78
Use type conversions from protocol crate
...
This also changes ToSql and FromSql to explicitly deal in byte buffers.
2016-09-14 23:27:33 -07:00
Steven Fackler
96943d7e10
Switch over to protocol backend parser
...
We still have to keep our owned Backend enum around since SEME doesn't
work :'(
2016-09-11 21:27:13 -07:00
Steven Fackler
59e1273faa
Start switching over to postgres-protocol
2016-09-11 15:54:37 -07:00
Steven Fackler
b76ac7e05a
Upgrade to openssl 0.8
2016-09-10 10:31:43 -07:00
Steven Fackler
ccf94ad5ef
Remove nightly feature
2016-09-10 10:31:43 -07:00
Steven Fackler
bf1250eb78
Always support unix sockets
2016-09-10 10:31:43 -07:00
Steven Fackler
f2cf6be6bc
Rename all features
...
You can't add dependencies to implicit features, so move them all just
in case.
2016-09-10 10:31:21 -07:00
Steven Fackler
7e48593a54
Check domain for openssl wrapper
...
Also update the expired certs we were using.
2016-09-10 10:30:47 -07:00
Steven Fackler
86b206188f
Release v0.11.11
2016-08-29 10:26:54 +02:00
Joe Wilm
498d4519e3
Support uuid 0.3
2016-08-24 17:39:11 -07:00
Steven Fackler
d3b567549d
Expand serde_json support
2016-08-18 20:42:28 -07:00