Commit Graph

1567 Commits

Author SHA1 Message Date
Steven Fackler
d2ef1ee735 Rustfmt 2016-10-01 21:26:22 +02:00
Steven Fackler
19156b2434 Import std io 2016-10-01 21:24:47 +02:00
Steven Fackler
455e22cec3 Rename io module to tls 2016-10-01 21:23:22 +02:00
Steven Fackler
17a5ab30b0 Little cleanups 2016-10-01 21:19:49 +02:00
Steven Fackler
de06c710a4 Add FromSql::from_sql_nullable
Also clean up logic for type info queries to avoid panics on bogus
responses.
2016-10-01 20:46:48 +02:00
Steven Fackler
494242231e Doc fix 2016-10-01 19:51:56 +02:00
Steven Fackler
2fe79b8319 Typo 2016-09-29 21:54:02 +02:00
Steven Fackler
b270696de1 Document TLS usage 2016-09-29 21:53:17 +02:00
Steven Fackler
cfa1971e18 Mention that str is compatible with NAME 2016-09-25 18:34:12 +02:00
Steven Fackler
6b94fc2c99 Clean up dimension iterator 2016-09-25 17:55:13 +02:00
Steven Fackler
1ab8100a19 Fix build 2016-09-24 20:10:57 -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
90c1279336 Make Connection a tuple struct 2016-09-24 19:36:41 -07:00
Steven Fackler
3832c53deb Fix clippy warnings 2016-09-24 14:35:21 -07:00
Steven Fackler
da6ad2b821 Remove silly renamed import 2016-09-21 22:16:38 -07:00
Steven Fackler
a6e60b23b1 Use published versions of crates 2016-09-21 21:41:42 -07:00
Steven Fackler
ae3cea7de6 Actually fix feature tests 2016-09-21 19:52:24 -07:00
Steven Fackler
0df9b32544 Fix test syntax 2016-09-21 19:47:18 -07:00
Steven Fackler
dcac106387 Use jq to test all features 2016-09-21 19:43:58 -07:00
Steven Fackler
6de2fb038c write_message2 -> write_message 2016-09-20 16:58:04 -04:00
Steven Fackler
c3bd2eba39 Finish frontend message rewrites 2016-09-20 16:55:24 -04:00
Steven Fackler
d68323e5a9 More protocol updates 2016-09-20 16:41:52 -04:00
Steven Fackler
248af3b745 More protocol updates 2016-09-20 12:54:51 -04:00
Steven Fackler
63790cf565 More protocol updates 2016-09-20 09:47:16 -04:00
Steven Fackler
1062b2a4d6 Protocol updates 2016-09-20 09:40:59 -04:00
Steven Fackler
16ce48a510 Update for postgres_protocol changes 2016-09-19 23:46:25 -04:00
Steven Fackler
b559b98b00 Wrap macros 2016-09-18 08:00:12 -04:00
Steven Fackler
cea7423cd3 Rename ConnectError::Ssl to Tls 2016-09-17 15:05:07 -07:00
Steven Fackler
25ba140ac8 Use postgres_protocol for md5 hashing 2016-09-15 21:20:25 -07:00
Steven Fackler
42fa212482 Rustfmt 2016-09-15 21:00:47 -07:00
Steven Fackler
7322308a16 Don't talk about TlsMode until we actually cut 0.12
Causes a bunch of confusion.
2016-09-15 10:27:21 -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
ff853811cb Use protocol's backend enum 2016-09-13 19:30:28 -07:00
Steven Fackler
fbcdd6b547 Rustfmt 2016-09-12 21:50:21 -07:00
Steven Fackler
bcb104793b Make LazyRows a fallible iterator 2016-09-12 21:39:22 -07:00
Steven Fackler
62cac49e8d Make notification iterators fallible 2016-09-12 21:34:03 -07:00
Steven Fackler
44bf1c94f9 Pull Oid from postgres_protocol 2016-09-11 21:56:22 -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
457d700639 Read message 2016-09-11 19:20:23 -07:00
Steven Fackler
82f708c5ff Add a MessageStream 2016-09-11 17:19:06 -07:00
Steven Fackler
f135d22394 remove Frontend messages 2016-09-11 16:48:19 -07:00
Steven Fackler
ad6fa4d0b1 More moves 2016-09-11 16:29:28 -07:00
Steven Fackler
52991387e5 More protocol moves 2016-09-11 16:13:57 -07:00
Steven Fackler
59e1273faa Start switching over to postgres-protocol 2016-09-11 15:54:37 -07:00
Steven Fackler
1c272246a4 Switch from bit packing to bools 2016-09-10 14:27:34 -07:00
Steven Fackler
5730903e5f Lazily initialize typeinfo queries
Cuts out a little bit of traffic for connections that don't use custom
types and avoids weird logic for things like CockroachDB that expose a
Postgres interface but not pg_catalog.
2016-09-10 13:59:49 -07:00
Steven Fackler
7509d34407 Update codegen to Postgres 9.6 RC1 2016-09-10 11:47:18 -07:00
Steven Fackler
842bdafe1f Pull connect params out to its own module 2016-09-10 11:12:26 -07:00
Steven Fackler
b76ac7e05a Upgrade to openssl 0.8 2016-09-10 10:31:43 -07:00
Steven Fackler
0441c750a7 Doc tweaks 2016-09-10 10:31:43 -07:00