Commit Graph

1549 Commits

Author SHA1 Message Date
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
Steven Fackler
ccf94ad5ef Remove nightly feature 2016-09-10 10:31:43 -07:00
Steven Fackler
49b9b830d3 Bump min version in README 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
0704670493 Cleanup 2016-09-10 10:31:21 -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
c3aed4457f Remove deprecated set_transaction_isolation 2016-09-10 10:30:47 -07:00
Steven Fackler
935785f672 Update docs for SSL -> TLS migration 2016-09-10 10:30:47 -07:00
Steven Fackler
2a6889fa0b Rename SslMode to TlsMode
TLS has been a thing since 1999 - time to use it rather than SSL!
2016-09-10 10:30:47 -07:00
Steven Fackler
2e25862a66 Rename ssl stuff 2016-09-10 10:30:47 -07:00
Steven Fackler
e0b1eeec68 Doc tweaks 2016-09-10 10:30:47 -07:00
Steven Fackler
1627d62878 Overhaul security framework integration 2016-09-10 10:30:47 -07:00
Steven Fackler
da7407f543 Add a more robust wrapper for OpenSSL support 2016-09-10 10:30:47 -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
f769d0b766 Make line/file/routine in Error optional
cc #171
2016-09-10 10:30:47 -07:00
Steven Fackler
3bb055ad98 Alter [T] ToSql implementation to be one-indexed
This corresponds with the behavior of array literals in Postgres itself.

Closes #176
2016-09-10 10:30:47 -07:00
Steven Fackler
92be2db0e2 Remove deprecated Slice type 2016-09-10 10:30:47 -07:00
Steven Fackler
4373eff16f Remove back compat reexport 2016-09-10 10:30:47 -07:00
Steven Fackler
7d07e61e9c Remove fixmes in Type builder 2016-09-10 10:30:47 -07:00