Commit Graph

2542 Commits

Author SHA1 Message Date
Steven Fackler
198bf0780b Little cleanup 2018-04-22 19:47:36 -07:00
Steven Fackler
a33bcb8d55
Merge pull request #344 from sfackler/auto-flags
Automatically determine flags for array serialization
2018-04-22 19:07:08 -07:00
Steven Fackler
bfdb557cf2 Automatically determine flags for array serialization
This way it automatically works with versions of postgres that didn't
support null array entries as long as the data doesn't actually have a
null
2018-04-22 19:02:48 -07:00
Steven Fackler
77b3f77468
Merge pull request #343 from sfackler/assoc-const
Make constants associated
2018-04-22 15:07:07 -07:00
Steven Fackler
2777703ef3 Make constants associated 2018-04-22 15:01:55 -07:00
Steven Fackler
165a3342b9
Merge pull request #342 from sfackler/borrowed
Allow FromSql to borrow from the buffer
2018-04-22 14:16:28 -07:00
Steven Fackler
fcbed9175b Allow FromSql to borrow from the buffer
This allows for in-place deserialization of text and bytea values in
particular.

Row::get_bytes is removed since it previously existed for this use case.

Closes #281
2018-04-22 13:16:34 -07:00
Steven Fackler
520aacab7e
Merge pull request #339 from sfackler/keepalive
Support TCP keepalive
2018-04-16 20:27:55 -07:00
Steven Fackler
d0c111dc4a Use released socket2 2018-04-16 20:22:56 -07:00
Steven Fackler
b210624800 Fix minimum tokio-core version 2018-04-15 14:38:58 -07:00
Steven Fackler
06bcde2da1 Keepalive support in tokio-postgres 2018-04-15 14:38:01 -07:00
Steven Fackler
9139282344 Don't explicity disable keepalive
We want to use the OS default normally
2018-04-15 14:31:32 -07:00
Steven Fackler
fd53c56363 Clean up syntax 2018-04-15 14:30:15 -07:00
Steven Fackler
594606ad9f Support TCP keepalive
Closes #335
2018-04-15 14:30:15 -07:00
Steven Fackler
01e820633c
Merge pull request #340 from sfackler/deps
Upgrade dependencies
2018-04-15 14:29:48 -07:00
Steven Fackler
8970fd958c Fix warning 2018-04-15 14:26:02 -07:00
Steven Fackler
1d4345543c bump rust version 2018-04-15 14:23:14 -07:00
Steven Fackler
ec7db287e1 Upgrade dependencies 2018-04-15 13:59:48 -07:00
Steven Fackler
f76a292e10
Merge pull request #321 from khuey/bb8-fixes
Fixes for bb8
2018-03-01 19:44:57 -08:00
Steven Fackler
17fcbe3eb8 Remove old feature check module. 2018-02-11 21:13:23 -08:00
Steven Fackler
0516cb9d10 Release postgres 0.15.2 2018-02-11 17:19:52 -08:00
Steven Fackler
e1f31a4493 Release postgres-shared v0.4.1 2018-02-11 17:17:52 -08:00
Steven Fackler
0ff73e43b5 Release postgres-protocol 0.3.2 2018-02-11 17:14:02 -08:00
Steven Fackler
92808c22f5
Merge pull request #320 from dunkelstern/feature/db-errors-in-notifications
Add handling of DB-Errors in Notification processing
2018-01-30 09:40:52 -05:00
Johannes Schriewer
5171cbeca0 Add test for DB disconnects while waiting for notifications 2018-01-30 15:32:43 +01:00
Johannes Schriewer
75527beacf Add handling of DB-Errors in Notification processing
Handle the error that is generated when the DB connection goes down instead of panicing with
an unreachable code error. This allows the notification client to retry establishing the
connection instead of crashing the complete program.
2018-01-29 17:36:27 +01:00
Kyle Huey
b9b3f47151 Change Handshake trait to not consume itself on use. 2018-01-29 04:16:32 -08:00
Kyle Huey
b171da35f5 Add an is_desynchronized on tokio_postgres::Connection. 2018-01-29 03:05:16 -08:00
Steven Fackler
64286d0804
Merge pull request #319 from chinedufn/master
Add README link to `r2d2-postgres`
2018-01-28 18:10:40 -08:00
Chinedu Francis Nwafili
1ab0775aaa
Add README link to r2d2-postgres 2018-01-28 19:47:27 -05:00
Steven Fackler
6175c67386
Merge pull request #318 from chinedufn/master
Specify required version of optional crates
2018-01-27 14:59:02 -08:00
Chinedu Francis Nwafili
8fe39f381a
Add all optional crate versions 2018-01-27 02:00:18 -05:00
Chinedu Francis Nwafili
d24bad88ff
Specify required version of geo 2018-01-27 01:44:50 -05:00
Steven Fackler
691eec2533
Merge pull request #313 from FauxFaux/update-sha2-0.7
Upgrade hmac, sha2 and generic_array
2018-01-15 11:21:10 -08:00
Chris West (Faux)
bcc0996f04 Hmac::new() is infalliable 2018-01-15 18:54:43 +00:00
Chris West (Faux)
50e17acae6 generic-array requires Rust 1.20; 1.23 is out so N-2 is fine 2018-01-14 15:31:48 +00:00
Chris West (Faux)
91090ef3e3 Upgrade hmac, sha2 and generic_array 2018-01-14 14:48:02 +00:00
Steven Fackler
9d200ea387 Fix the last warning 2018-01-09 21:25:35 -08:00
Steven Fackler
630e11ad4c More warnings fixes 2018-01-09 21:18:34 -08:00
Steven Fackler
bb3ebbf943 Fix some warnings 2018-01-09 21:15:35 -08:00
Steven Fackler
863a295aae Upgrade socket2 and log 2018-01-09 20:32:55 -08:00
Steven Fackler
89d39cc5ab Add an example to lazy_query 2017-10-15 18:31:59 -07:00
Steven Fackler
36c5903b8c Merge pull request #296 from Meralis40/tokio-postgres-windows
Correct build error on non-unix targets for tokio-postgres
2017-10-09 10:30:08 -07:00
Quentin Laveau
3e4186a316 Correct build error on non-unix targets for tokio-postgres 2017-10-09 09:24:43 +02:00
Steven Fackler
b7791509d0 Use Postgres 10 for CI 2017-10-05 14:20:26 -07:00
Steven Fackler
762a7aef7f Release v0.3.0 2017-09-30 16:14:46 -07:00
Steven Fackler
24abd2e319 Remove more deprecated use 2017-09-30 15:22:33 -07:00
Steven Fackler
a24704e998 Fix doctest 2017-09-30 15:16:45 -07:00
Steven Fackler
6780d41225 Stop using deprecated stuff 2017-09-30 15:14:02 -07:00
Steven Fackler
9373d2fa55 Update futures-state-stream 2017-09-30 14:56:15 -07:00