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
4373eff16f
Remove back compat reexport
2016-09-10 10:30:47 -07:00
Steven Fackler
86b206188f
Release v0.11.11
2016-08-29 10:26:54 +02:00
Steven Fackler
f4aabceaf3
Release v0.11.10
2016-08-05 13:35:14 -07:00
Steven Fackler
8e22dfba57
Fix postgres 9.0 typeinfo
2016-08-04 20:49:56 -07:00
Steven Fackler
606637be1c
Bump to 1.9, drop net2
2016-07-07 21:06:27 -07:00
Steven Fackler
5938db205b
Drop clippy dependency
...
It's now easier to use with cargo-clippy
2016-06-28 18:11:00 -04:00
Steven Fackler
700625c019
Release v0.11.9
2016-06-15 18:32:28 -07:00
Steven Fackler
6918a8b906
Release v0.11.8
2016-05-26 22:58:24 -07:00
Steven Fackler
ae4b8d1fa1
Slightly tweak comment
...
Probably worth mentioning the specific DBs here.
2016-05-26 20:33:14 -07:00
Nathan VanBenschoten
ab2f3305e1
Ignore InvalidCatalogName errors for pg_catalog queries
2016-05-13 18:09:08 -04:00
Steven Fackler
efab1217da
Release v0.11.7
2016-04-12 12:34:54 -07:00
Steven Fackler
d962a9c9fe
Add clippy as an optional dep and fix warnings
2016-04-05 20:52:34 -07:00
Steven Fackler
de573ff751
Move IsolationLevel into the transaction module
2016-04-05 20:19:48 -07:00
Steven Fackler
7b8532b28f
Cleanup
2016-04-04 22:55:13 -07:00
Steven Fackler
ad3d0e99d5
Drop Sync rename
2016-04-04 22:53:34 -07:00
Steven Fackler
c16d1447fa
Stop glob importing messages
2016-04-04 22:51:56 -07:00
Steven Fackler
da8707a316
Drop Message suffix
2016-04-04 22:35:45 -07:00
Steven Fackler
1e04e1362c
Remove unused imports
2016-04-04 22:32:26 -07:00
Steven Fackler
f41b208b99
Release v0.11.6
2016-03-31 09:33:31 -07:00
Steven Fackler
96b1f7b7f7
Fix startup logic for old Postgres versions
...
Closes #167
2016-03-30 21:31:33 -07:00
Steven Fackler
e806483829
Release v0.11.5
2016-03-29 21:48:05 -07:00
Steven Fackler
d48fa83c19
Only enable unix socket stuff on unix with nightly
2016-03-29 21:24:45 -07:00
Steven Fackler
9a595c9d3c
Fix docs
2016-03-27 13:06:12 -07:00
Steven Fackler
b0bed6ab4c
Add a nightly feature
...
Currently uses the UnixStream from the standard library
2016-03-27 13:03:19 -07:00
Steven Fackler
a3022dc559
Release v0.11.4
2016-03-09 21:04:55 -08:00
Steven Fackler
0624cd6338
Implement HandleNotice for FnMut(DbError)
2016-03-05 12:04:43 -08:00
Steven Fackler
f49cfe3ca5
Move parse_update_count and delete util
2016-03-03 21:21:00 -08:00
Steven Fackler
5b80b251a6
Finish up transaction config
2016-02-24 22:29:09 -08:00
Steven Fackler
6f59fb5b35
Start of transaction configuration
2016-02-24 00:01:22 -08:00
Steven Fackler
269c1765b9
Move transaction to its own module
2016-02-23 23:43:28 -08:00
Steven Fackler
15fe3f7c5f
Rustfmt
2016-02-21 20:02:34 -08:00
Steven Fackler
501b79b46c
Suppress clippy lints not worth fixing
2016-02-20 15:26:33 -08:00
Steven Fackler
94368c6e7a
Fix naming of composite field query
2016-02-20 15:21:24 -08:00
Steven Fackler
91bef8daa1
Split up get_type
2016-02-20 15:20:25 -08:00
Steven Fackler
5b54a6910b
Clean up stuff pointed out by clippy
2016-02-20 15:06:15 -08:00
Steven Fackler
69e368dc41
Release v0.11.3
2016-02-17 22:23:37 -08:00
Steven Fackler
4c46f9fa89
Adjust Type::Enum to carry the variants
2016-02-17 22:22:31 -08:00
Steven Fackler
2f41c47944
Release v0.11.2
2016-02-17 21:30:19 -08:00
Steven Fackler
b638d0e051
Fix fallback typeinfo query
2016-02-17 11:26:43 -08:00
Steven Fackler
d5f1bdba4a
Composite type support
2016-02-15 23:11:01 -08:00
Steven Fackler
7599c4e146
Clean up get_type
2016-02-15 22:29:22 -08:00
Steven Fackler
1b5c79eec2
Move inner_execute to InnerConnection
2016-02-15 22:25:52 -08:00
Steven Fackler
259fe11a1c
Make read_rows a method on InnerConnection
2016-02-15 22:17:45 -08:00
Steven Fackler
47b0c69d35
Add enum and pseudo type kinds
2016-02-13 21:51:37 -08:00
Steven Fackler
dcd621b48a
Doc cleanup
2016-02-10 22:57:41 -08:00
Steven Fackler
c677386952
Release v0.11.1
2016-02-01 22:49:29 +00:00
Steven Fackler
bd67e438c4
Add a Domain Kind
...
This could break downstream code that expects a domain type to
explicitly be a Simple Kind, but I doubt that exists.
cc #153
2016-01-22 20:01:39 -08:00
Steven Fackler
05da5ffc97
Release v0.11.0
2016-01-03 14:40:05 -08:00
Steven Fackler
59b9d66890
Doc tweaks
2016-01-02 21:51:02 -08:00
Steven Fackler
a4f0c3bc5f
Don't clone cached statement info
2016-01-02 21:02:54 -08:00
Steven Fackler
54735d9f4f
Arcify unknown types
2016-01-02 20:07:33 -08:00
Steven Fackler
278a03ac83
Rustfmt
2016-01-02 16:02:34 -08:00
Steven Fackler
3ddcf87203
Simplify ConnectError
...
Same deal as Error
2016-01-02 15:50:11 -08:00
Steven Fackler
ccfba62b99
More cleanup
2015-12-29 15:16:15 -07:00
Steven Fackler
2a1fa173b9
Make unreachable case more explicit
2015-12-27 21:14:04 -07:00
Steven Fackler
22f35c4aff
Tweak docs
2015-12-27 17:13:36 -07:00
Steven Fackler
bb837bd872
Make the default notifications iterator read nonblocking
...
It is always super confusing as to when a notification that's been sent
to the client will actually show up in the old version of this iterator,
so it's best to have it see if there's anything waiting in the TCP
buffer.
Closes #149
2015-12-27 10:15:49 -07:00
Steven Fackler
278ee1cfd7
Drop WrongType variant
...
Following the tradition of WasNull
2015-12-26 22:05:23 -07:00
Steven Fackler
f79e98e07a
Rustfmt
2015-12-25 20:20:28 -07:00
Steven Fackler
4f37625cd6
Shorten error variant names
...
No reason to repeat Error
2015-12-25 20:14:09 -07:00
Steven Fackler
6bada57e0f
Fix doc example
...
Looks like recent cargo nightlies started passing features to doc tests
2015-12-20 21:48:59 -07:00
Steven Fackler
a6d9a214a6
Require Debug for StreamWrapper
2015-12-13 23:27:32 -08:00
Steven Fackler
2863b2ea0e
Require Debug for NegotiateSsl
...
This forces the closure impl to go away but that seems not-important.
2015-12-13 22:46:24 -08:00
Steven Fackler
8fac512919
Make DbError fields public
...
All of them are directly exposed via accessors and the internal
representation is never realistically going to change. A single private
field allows for expansion in the future.
2015-12-12 20:30:50 -08:00
Steven Fackler
3b202e6b1e
Doc fixes
2015-12-12 20:21:44 -08:00
Steven Fackler
bc04239a1d
Rustfmt
2015-12-12 19:22:51 -08:00
Steven Fackler
47f9a660de
Make cancel_query take a ref
...
Even though CancelData is Copy it's a bit weird for a function to take
ownership when it doesn't need to.
2015-12-06 23:38:26 -08:00
Steven Fackler
37954d1819
Update documentation to focus on direct execution and querying
...
It's the common case, so make things look simpler to a newcomer.
2015-12-06 23:35:28 -08:00
Steven Fackler
685557aba2
Use Connection::query in examples
2015-12-06 23:35:28 -08:00
Steven Fackler
811b0ffde9
Restructure SslMode
...
This is a large breaking change but makes things make way more sense
2015-12-06 23:35:28 -08:00
Steven Fackler
4d5eed832a
Add query to Transaction and GenericConnection
2015-12-06 23:35:28 -08:00
Steven Fackler
afc067fb33
Remove deprecated from_sql_nullable
2015-12-06 23:35:28 -08:00
Steven Fackler
736f530ae9
Add Connection::query
...
Same deal as Connection::execute - a bit cheaper than preparing and
executing the statement normally.
2015-12-06 23:35:28 -08:00
Steven Fackler
58bb6c0e9a
Remove rows::IntoIter
...
It's incompatible with Connection::query
2015-12-06 23:35:28 -08:00
Steven Fackler
458e7466b4
Remove CopyOutResponse case
...
You can't cncel a CopyOut.
2015-12-06 23:34:52 -08:00
Steven Fackler
19111a30bf
Reorder some connection methods
...
Roughly rank them by which usage
2015-12-06 16:08:37 -08:00
Steven Fackler
0e6b03d06b
Use a smaller crate for hex stuff
...
It's really overkill to pull in rustc_serialize just for hex conversions
2015-12-06 14:28:12 -08:00
Steven Fackler
4bdbcd8265
Impl NegotiateSsl for closures + rustfmt
2015-12-05 14:44:40 -08:00
Steven Fackler
3622a2e031
Release v0.10.2
2015-12-02 21:58:16 -08:00
Steven Fackler
a9effb427a
Make examples consistent
2015-11-29 20:00:25 -08:00
Steven Fackler
72b96da37b
Fix indentation
2015-11-28 21:22:13 -08:00
Steven Fackler
d12b01ab89
Handle copy out in quick_query
2015-11-28 21:20:52 -08:00
Steven Fackler
1aabcdbb2a
Use h1s in docs
2015-11-28 21:05:13 -08:00
Steven Fackler
67bace6fc0
Rustfmt
2015-11-15 19:54:01 -08:00
Steven Fackler
6f19f6fe58
Mention what isolation level methods are doing.
2015-11-13 19:46:34 -08:00
Steven Fackler
bb358073ab
Release v0.10.1
2015-11-07 16:42:13 -08:00
Steven Fackler
4078db3aa5
Doc typo fix
2015-11-01 12:06:38 -08:00
Steven Fackler
01153f784a
Add a notifications iterator that waits with a timeout
...
Closes #105
2015-10-20 23:13:45 -07:00
Steven Fackler
c4becf6a39
Read message with timeout backend support
2015-10-20 22:37:52 -07:00
Mathieu Rheaume
f5ee8686ae
To_String() cleanup for to_owned on method calls
2015-09-28 01:19:02 -04:00
Steven Fackler
8b80eba9ed
Add a name accessor to Type
...
Also fix up some misentered type info and add a test to ensure it's
correct.
2015-09-26 22:59:40 -07:00
Steven Fackler
f551a86c0f
Expose containing schema for custom types
2015-09-26 22:59:40 -07:00
Steven Fackler
be7a0f2908
Release v0.10.0
2015-09-19 11:06:51 -07:00
Steven Fackler
9d25328322
Doc fixes
2015-09-18 23:26:14 -07:00
Steven Fackler
e7d4a7e062
Drop dependency on debug builders
2015-09-18 22:55:32 -07:00