Commit Graph

1243 Commits

Author SHA1 Message Date
Steven Fackler
78818f9fb0 Handle errors when running copy statements 2015-10-23 22:55:39 -07:00
Steven Fackler
a3039e6fe2 Update minimum version and test on it 2015-10-21 00:08:52 -07:00
Steven Fackler
b6b19083de Typo 2015-10-20 23:18:13 -07:00
Steven Fackler
049e37bf26 Note notification pickup caveat for nonblocking iterator 2015-10-20 23:15:59 -07: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
Steven Fackler
87f865d692 Merge pull request #140 from ddrmanxbxfr/ToStringCleanup
To_String() cleanup for to_owned on method calls
2015-09-28 01:40:56 -04: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
7e397a86c7 Doc cleanup 2015-09-26 22:59:40 -07:00
Steven Fackler
178744a97e Add a schema accessor on Type 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
3305bef654 Merge branch 'release' 2015-09-19 12:13:47 -07:00
Steven Fackler
ef3de8ae35 Merge branch 'release-v0.10.0' into release 2015-09-19 11:07:13 -07:00
Steven Fackler
be7a0f2908 Release v0.10.0 2015-09-19 11:06:51 -07:00
Steven Fackler
bf021bb475 Move desync check back a bit 2015-09-19 11:02:10 -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
Steven Fackler
a2609f6c90 Refactor notification API 2015-09-18 22:51:11 -07:00
Steven Fackler
008f14b459 Move notification stuff to its own module 2015-09-18 20:55:01 -07:00
Steven Fackler
ff4248c737 Drop reexports 2015-09-18 20:21:13 -07:00
Steven Fackler
03150f4cae Overhaul the copy_out API
Returning a Reader ends up with a really weird user experience where you
have to make sure to drop it before making any other calls and it has to
internally fast forward to the end of the data even if the user drops it
early. Simply taking a Writer that all data is pushed into is
sigificantly more straightforward.
2015-09-15 23:11:14 -07:00
Steven Fackler
5fe76e2dec Remove unused import 2015-09-15 22:22:54 -07:00
Steven Fackler
c21fc2966b Provide more information for copy in readers 2015-09-15 22:22:54 -07:00
Steven Fackler
6c0a7c3b79 Store DbError in a Box
This shrinks the error enums by an order of magnitude - 376 bytes to
32/34.
2015-09-15 22:22:54 -07:00
Steven Fackler
de8c882ef0 Generify connect params errors 2015-09-15 22:22:54 -07:00
Steven Fackler
ca37366db6 Merge branch 'release' 2015-08-28 17:02:32 -07:00
Steven Fackler
fc2ae1da54 Merge branch 'release-v0.9.6' into release 2015-08-28 17:02:12 -07:00
Steven Fackler
50d46121cd Release v0.9.6 2015-08-28 17:01:46 -07:00
Steven Fackler
b328007875 Merge pull request #138 from achanda/patch-1
Inherit from Sized
2015-08-27 00:29:05 -07:00
Abhishek Chanda
6edceaaeb2 Inherit from Sized
Shuts off warnings
2015-08-26 23:59:09 -07:00
Steven Fackler
20ce974662 Add session info accessor for copy out 2015-08-15 23:37:56 -07:00
Steven Fackler
6e99874bd9 Add COPY TO STDOUT support.
Closes #51
2015-08-15 23:21:39 -07:00
Steven Fackler
63e278b9f2 Pull Statement into its own module 2015-08-15 21:39:46 -07:00
Steven Fackler
dc2f04de96 Start work on COPY TO statements 2015-08-15 20:39:13 -07:00
Steven Fackler
0d5f254e7d Use new SslStream constructor 2015-08-15 13:05:51 -07:00
Steven Fackler
369961a416 Doc typo fixes 2015-08-10 13:49:33 -04:00
Steven Fackler
67e4a12752 Fix unwraps in chrono impls 2015-08-09 23:32:54 -04:00
Steven Fackler
9a7c4ce811 Merge branch 'release' 2015-08-03 17:18:27 -07:00
Steven Fackler
2893091266 Merge branch 'release-v0.9.5' into release 2015-08-03 17:15:35 -07:00
Steven Fackler
d958316d2b Release v0.9.5 2015-08-03 17:15:18 -07:00
Steven Fackler
94f6577904 Merge pull request #137 from reem/tosql-for-refs
Implement ToSql for &'a T where T: ToSql
2015-08-03 13:40:04 -07:00
Jonathan Reem
4b545ca466 Implement ToSql for &'a T where T: ToSql
This allows more flexible use of ToSql in generic contexts by allowing
references to be used for encoding.
2015-08-03 13:32:44 -07:00
Steven Fackler
e9005bb176 Merge branch 'release' 2015-07-30 22:46:43 -07:00
Steven Fackler
1ef2e8b217 Merge branch 'release-v0.9.4' into release 2015-07-30 22:45:11 -07:00
Steven Fackler
b3e596b3c8 Release v0.9.4 2015-07-30 22:44:52 -07:00
Steven Fackler
64de6abb1e Look up column names case insensitively
It tries a case sensitive comparison first so all existing uses should
continue to be OK. It should really have some form of unicode awarenes
but it's unclear exactly what. The JDBC driver uses the US locale when
lowercasing and libpq uses tolower with the system locale.

Closes #136
2015-07-30 22:04:22 -07:00
Steven Fackler
cb6a408c13 Specify sudo is required for travis 2015-07-30 21:24:59 -07:00
Steven Fackler
a60dc808ba Ensure Connection is always Send 2015-07-22 07:41:40 -07:00
Steven Fackler
edc6f721a5 Add docs for new impls 2015-07-20 23:16:50 -07:00