Commit Graph

2247 Commits

Author SHA1 Message Date
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
Steven Fackler
12c2ef79b6 Upgrade to tokio 0.2/futures 0.3 2019-11-26 16:32:36 -08:00
Steven Fackler
5517719b07 Binary copy out support 2019-11-23 04:45:05 -08:00
Steven Fackler
a94127c05d
Merge pull request #518 from quodlibetor/message-length-error-uniqueness
Make all invalid message length errors unique
2019-11-19 11:09:23 -05:00
Brandon W Maister
4a3df873e9 Make all invalid message length errors unique 2019-11-19 10:28:31 -05:00
Steven Fackler
5423243923 Make CopyStream !Unpin 2019-11-19 04:29:31 -08:00
Steven Fackler
bccfa83aca Expose CopyOut 2019-11-18 18:39:36 -08:00
Steven Fackler
c98f605622 Switch to pin-project-lite 2019-11-18 18:12:34 -08:00
Steven Fackler
6e2435eb60 Write full rows in binary copy 2019-11-18 18:06:03 -08:00
Steven Fackler
8ebe859183 Start on binary copy rewrite 2019-11-17 18:28:12 -08:00
Steven Fackler
cff1189cda Include column ID in error
Closes #514
2019-11-17 09:17:02 -08:00
Steven Fackler
1884b85283
Merge pull request #513 from aloucks/timezone
Change connection initialization timezone to UTC
2019-11-17 08:34:59 -05:00
Aaron Loucks
2f31e5826d Change connection initialization timezone to UTC 2019-11-16 18:59:39 -05:00
Steven Fackler
ba39e2f53b more example fixes 2019-11-05 11:55:59 -08:00
Steven Fackler
a9f371f70c Clean up tokio-postgres example a bit 2019-11-05 09:56:38 -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
6c77baad1b
Merge pull request #503 from ivan/master
Add query_one to postgres::Transaction
2019-10-27 10:29:31 -04:00
Ivan Kozik
0b5ca1bd68 Add query_one to postgres::Transaction
I believe this was missed in 31855141d2
2019-10-27 13:06:16 +00:00
Steven Fackler
286f41d423 Remove out of date README
Each individual subcrate will gain its own README for display on
crates.io
2019-10-21 18:04:58 -07:00
Steven Fackler
a2b3a222ab
Merge pull request #501 from mibac138/master
Support uuid v0.8 and update dependencies
2019-10-19 20:17:40 -04:00
mibac138
9a83196e23 Update dependencies 2019-10-19 20:34:11 +02:00
mibac138
a943a0e666 Support uuid 0.8 2019-10-19 19:52:07 +02:00
Steven Fackler
7a95f6a3e4 pin_mut is in futures now 2019-10-18 22:33:33 -04:00
Steven Fackler
9d2ec747ef Add some simple benchmarks 2019-10-15 18:17:10 -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
ae230fb012 Release tokio-native-tls v0.3.0-alpha.1 2019-10-14 18:17:55 -07:00
Steven Fackler
afa466fb25 Release tokio-postgres v0.5.0-alpha.1 2019-10-14 18:14:11 -07:00
Steven Fackler
4745cda7b7 Release postgres-types v0.1.0-alpha.1 2019-10-14 17:56:10 -07:00
Steven Fackler
94115a81b4 Release postgres-derive v0.4.0-alpha.1 2019-10-14 17:50:04 -07:00
Steven Fackler
9ebdca23e1 Release postgres-protocol v0.5.0-alpha.1 2019-10-14 17:46:45 -07:00
Steven Fackler
7b73eee3fb Make streams !Unpin
Hedging against the future if we end up using an intrusive list
implementation
2019-10-14 16:42:54 -07:00
Steven Fackler
e5d2205ce1 Cut out unneeded quotes 2019-10-14 15:13:27 -07:00
Steven Fackler
270371a27a Remove some unused dependencies 2019-10-14 15:07:03 -07:00
Steven Fackler
9e42c67b7b Use the client buffer for cleanup 2019-10-12 18:07:09 -07:00
Steven Fackler
20adbaf36b Fix build for real 2019-10-12 18:01:27 -07:00
Steven Fackler
0736382593 Fix tests 2019-10-12 17:47:55 -07:00
Steven Fackler
ffd7245e54 Use BytesMut for messages
Benchmarks indicate that malloc accounts for a significant amount of the
runtime of queries. The message buffer accounts for ~half of that (the
other being channels), and this change should eliminate it.
2019-10-12 16:30:27 -07:00
Steven Fackler
e99d65ed97 Derive documentation 2019-10-10 17:06:54 -07:00
Steven Fackler
01cc7e4715 Clean up derived code 2019-10-10 16:03:48 -07:00
Steven Fackler
e62fe3d7c3 Migrate postgres-derive to 2018 2019-10-10 15:26:30 -07:00
Steven Fackler
e69f1583c8 cfail tests for derive 2019-10-10 15:21:45 -07:00
Steven Fackler
218d889042 Move postgres-derive in-tree 2019-10-09 19:23:12 -07:00
Steven Fackler
31855141d2 Add query_one 2019-10-09 17:45:53 -07:00
Steven Fackler
8c28f8b363 Overhaul simple_query 2019-10-09 17:04:24 -07:00
Steven Fackler
c7055dc665 Clippy fixes 2019-10-09 15:20:23 -07:00